accounting_categorize_set
Categorize transfers or accrual lots by ID for accounting; internal, bridge, swap, and Earn transfers are rejected—use rules for address-based categorization.
Instructions
Put transfers or accrual lots in a category. Internal, bridge, swap, and Earn transfers are rejected. To categorize every transfer with an address, write a rule instead.
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": {
"targetIds": "<targetIds>",
"categoryId": "<categoryId>"
},
"name": "accounting_categorize_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetIds | Yes | Comma-separated transfer ids (the Transfer ID column in exports) or accrual lot ids, up to 500 | |
| workspace | No | Workspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace. | |
| categoryId | Yes | Category id from 'accounting categories list' | |
| targetKind | No | transfer for an asset transfer id, accrual_lot for a rebasing accrual's lot id | transfer |