tm_execute_transfer
Execute prepared transfers on True Markets to move assets between accounts. This tool finalizes transfers initiated with tm_prepare_transfer, providing transaction confirmation and details.
Instructions
Execute a transfer prepared with tm_prepare_transfer. Irreversible.
Args:
transfer_id (string): From tm_prepare_transfer
Returns: { success, tx_hash, chain, sent, fee, explorer_url }
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transfer_id | Yes | transfer_id from tm_prepare_transfer |
Implementation Reference
- src/tools/trade.ts:308-341 (registration)Registration and handler implementation of the 'tm_execute_transfer' MCP tool.
server.registerTool( "tm_execute_transfer", { title: "Execute a prepared transfer", description: `Execute a transfer prepared with tm_prepare_transfer. Irreversible. Args: - transfer_id (string): From tm_prepare_transfer Returns: { success, tx_hash, chain, sent, fee, explorer_url }`, inputSchema: { transfer_id: z.string().describe("transfer_id from tm_prepare_transfer"), }, annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: true, }, }, async ({ transfer_id }) => { // For transfers, we need to re-prepare to get payloads // (The prepare response payloads aren't cached like quotes) // This is a limitation — in production, we'd cache prepare responses too return { isError: true, content: [{ type: "text", text: "Transfer execution requires payload signing. " + "This is a scaffolded implementation — see TODO in source.", }], }; } );