t2000_contact_remove
Remove a saved contact by name from the t2000 MCP server's banking system.
Instructions
Remove a saved contact by name.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Contact name to remove |
Implementation Reference
- packages/mcp/src/tools/write.ts:602-616 (handler)Registration and handler implementation for the t2000_contact_remove tool.
server.tool( 't2000_contact_remove', 'Remove a saved contact by name.', { name: z.string().describe('Contact name to remove'), }, async ({ name }) => { try { const removed = agent.contacts.remove(name); return { content: [{ type: 'text', text: JSON.stringify({ success: removed, name }) }] }; } catch (err) { return errorResult(err); } }, );