accounting_categorize_bulk
Apply up to 500 accounting category overrides from a JSON file in one atomic insert; a rejected row rolls back the batch and leaves no partial changes.
Instructions
Write up to 500 overrides from a JSON file, as one atomic insert: a rejected row leaves nothing behind. The file holds an array of { kind: 'set' | 'revoke', targetKind: 'transfer' | 'accrual_lot', targetId, categoryId? }; a set names a categoryId and a revoke doesn't. The last row per target wins.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file": "<file>"
},
"name": "accounting_categorize_bulk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to a JSON file holding an array of overrides | |
| workspace | No | Workspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace. |