add_investment_transaction
Adds buy, sell, dividend, or fee transactions for a holding, recording date, units, price per unit, and total amount to maintain accurate investment records.
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": {
"holdingId": "<holdingId>",
"date": "<date>",
"type": "<type>",
"units": "<units>",
"pricePerUnit": "<pricePerUnit>",
"totalAmount": "<totalAmount>"
},
"name": "add_investment_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| type | Yes | ||
| units | Yes | ||
| holdingId | Yes | ||
| totalAmount | Yes | ||
| pricePerUnit | Yes |