Batch Delete Entries
batch_delete_entriesDelete multiple journal entries in one transaction (up to 50 per batch) to remove outdated records, with optional permanent deletion and workspace or project scoping.
Instructions
Delete multiple existing journal entries in a single transaction. Max 50 per batch.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "batch_delete_entries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry_ids | No | ||
| permanent | No | ||
| workspace_id | No | Optional workspace isolation identifier (e.g. "alpha"). Do not use numeric project IDs or "workspace" as the key. | |
| project_number | No | Optional project number for workspace resolution. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Error code (e.g. VALIDATION_ERROR, INTERNAL_ERROR) | |
| count | No | ||
| error | No | Human-readable error message | |
| deleted | No | ||
| details | No | Additional error context | |
| success | No | ||
| warning | No | ||
| category | No | Error category (validation, query, connection, internal) | |
| notFound | No | ||
| permanent | No | ||
| suggestion | No | Suggested fix for the error | |
| recoverable | No | Whether the error is recoverable | |
| aggregated_errors | No | Details of individual errors in a multi-step operation |