update_account
Modify account details, such as updating the name or other information, using the specified account ID on the Paper MCP Server. Simplify account management through natural language interactions.
Instructions
Update account details
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": {
"accountId": "<accountId>"
},
"name": "update_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | Account ID | |
| name | No | New account name |
Implementation Reference
- src/index.ts:411-415 (handler)Handler function for 'update_account' tool that performs a PUT request to update the account name via the Paper Invest API.
case 'update_account': response = await api.put(`/accounts/${args.accountId}`, { name: args.name }); break; - src/index.ts:83-94 (schema)Tool definition including name, description, and input schema for the 'update_account' tool, used for registration in listTools.
{ name: 'update_account', description: 'Update account details', inputSchema: { type: 'object', properties: { accountId: { type: 'string', description: 'Account ID' }, name: { type: 'string', description: 'New account name' } }, required: ['accountId'] } },