list_orders
Retrieve account purchase history including domain purchases, renewals, and transfers from the Dynadot registrar.
Instructions
List all orders (purchases, renewals, transfers) in the account history.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/account.ts:116-138 (handler)MCP tool registration and handler implementation for "list_orders".
server.tool( "list_orders", "List all orders (purchases, renewals, transfers) in the account history.", {}, async () => { try { const result = await client.listOrders(); return { content: [ { type: "text" as const, text: JSON.stringify(result, null, 2) }, ], }; } catch (error) { const msg = error instanceof Error ? error.message : String(error); return { content: [ { type: "text" as const, text: `Failed to list orders: ${msg}` }, ], isError: true, }; } } );