get_account_cash
Retrieve detailed cash balance information from Trading 212 accounts, including free, invested, blocked, and total amounts for portfolio tracking and account management.
Instructions
Get detailed cash balance information including free, invested, blocked, and total amounts
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:564-576 (handler)The handler for 'get_account_cash' calls 'client.getAccountSummary()' and returns the serialized results.
case 'get_account_info': case 'get_account_cash': case 'get_account_summary': { const summary = await client.getAccountSummary(); return { content: [ { type: 'text', text: JSON.stringify(summary, null, 2), }, ], }; } - src/index.ts:72-80 (registration)Registration of the 'get_account_cash' tool in the tool definitions array.
{ name: 'get_account_cash', description: 'Get detailed cash balance information including free, invested, blocked, and total amounts', inputSchema: { type: 'object', properties: {}, }, },