delete_txn
Delete a single transaction by its ID to remove it from the log, automatically recalculating all subsequent portfolio positions and average cost.
Instructions
Delete a single transaction by its id. The user must confirm — never call this without explicit instruction (e.g. "delete transaction #42"). Removing a transaction recalculates all subsequent positions/avg cost since holdings are derived from the log.
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": {
"id": "<id>"
},
"name": "delete_txn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |