Create Withdrawal
create_withdrawalRecord an expense or cash withdrawal from an asset account, optionally assigning it to a budget, category, or tags to track spending.
Instructions
Record expenses and spending.
Money leaves your asset accounts to pay for goods, services, or cash withdrawals. Can be assigned to budgets for expense tracking.
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": {
"req": "<req>"
},
"name": "create_withdrawal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| req | Yes | Request model for creating a withdrawal transaction. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Transaction ID | |
| date | No | Date and time of the transaction | |
| tags | No | Cross-cutting labels grouping transactions across budgets/categories/time (e.g. a trip name, a project, a tax year). Multiple allowed. | |
| type | Yes | Type of the transaction | |
| amount | Yes | Amount of the transaction | |
| budget_id | No | ID of the budget for this transaction | |
| source_id | No | ID of the source account. For withdrawal/transfer, must be asset account. For deposits, must be revenue account. | |
| budget_name | No | Name of the budget for this transaction | |
| category_id | No | ID of the category for this transaction | |
| description | Yes | Description of the transaction | |
| source_name | No | Source account name | |
| category_name | No | Finer-grained classification of the transaction (e.g. "vegetables", "personal hygiene"). One per transaction; complements the budget. | |
| currency_code | No | Currency code | |
| destination_id | No | ID of the destination account. For deposit/transfer, must be asset account. For withdrawals, must be expense account. | |
| destination_name | No | Destination account name |