get_account
Retrieve account details by providing the account ID on the Paper MCP Server, enabling AI assistants to access and manage trading platform data through natural language interactions.
Instructions
Get account details by ID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | Account ID |
Implementation Reference
- src/index.ts:407-409 (handler)Handler implementation for the 'get_account' tool. Makes a GET request to the API endpoint `/accounts/{accountId}` to fetch account details.case 'get_account': response = await api.get(`/accounts/${args.accountId}`); break;
- src/index.ts:73-82 (schema)Tool definition including name, description, and input schema for 'get_account'. Used for tool discovery and validation.name: 'get_account', description: 'Get account details by ID', inputSchema: { type: 'object', properties: { accountId: { type: 'string', description: 'Account ID' } }, required: ['accountId'] } },