withdraw
Remove cash from a simulated paper-trading account, with the operation rejected if it would make the balance negative.
Instructions
Remove cash from a paper account (fails if it would go negative).
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": "<account>",
"amount": "<amount>"
},
"name": "withdraw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | mcp | |
| amount | Yes | ||
| account | Yes | ||
| idempotency_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |