Actions20
Record → Delete
AI-generatedSummary
Delete matching records from the selected directory in the node’s filesystem store. Set at least one filter; matching records are removed and each deletion is returned as an item.
Inputs
- Directory Name (required) — Directory containing the records to search.
- Key Filter — Optional glob for record filenames; supports * and ?. An empty value matches any key.
- Value Filter — Optional substring to find in the record body. When frontmatter is present, it is excluded from this check.
- Tag Filter — Optional tag value; only records whose frontmatter tags include it match.
Output shape
A list of items, one for each deleted record.
Each item contains directory, key, and deleted: true. Key, value, and tag filters are combined with AND logic. At least one filter is required; use * as Key Filter to delete all records. A missing directory raises an error. If no records match, the operation returns no items.