Add Transaction
add_transactionAdd a new transaction. Requires confirmation: true to execute.
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": {
"account_id": "<account_id>",
"amount": "<amount>",
"type": "<type>",
"description": "<description>",
"date": "<date>",
"confirmation": "<confirmation>"
},
"name": "add_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ISO date string | |
| type | Yes | ||
| notes | No | ||
| amount | Yes | ||
| account_id | Yes | ||
| category_id | No | ||
| description | Yes | ||
| confirmation | Yes | Must be true to execute the mutation | |
| idempotencyKey | No | Optional idempotency key — calls with the same key (per-user, within 24h) return the cached response without re-executing. |