Create investment
create_investmentCreate a manual investment holding (max 1000 per group; resource_limit when full). Name/code/isin ≤100 chars; money 0…1e6. Bank holdings cannot be created.
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": {
"budgetId": "<budgetId>",
"groupId": "<groupId>",
"name": "<name>",
"balance": "<balance>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "create_investment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| isin | No | ||
| name | Yes | ||
| type | No | ||
| balance | Yes | ||
| groupId | Yes | ||
| subtype | No | ||
| budgetId | Yes | ||
| currency | No | ||
| quantity | No | ||
| unitValue | No | ||
| idempotencyKey | Yes |