get_order_status
Check the status of a specific order by ID to monitor domain registration, DNS updates, or transfer progress through the Dynadot registrar API.
Instructions
Check the status of a specific order by ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Order ID to check |
Implementation Reference
- src/tools/account.ts:142-166 (handler)MCP tool handler registration for get_order_status.
server.tool( "get_order_status", "Check the status of a specific order by ID.", { order_id: z.string().describe("Order ID to check"), }, async ({ order_id }) => { try { const result = await client.getOrderStatus(order_id); 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 get order status: ${msg}` }, ], isError: true, }; } } ); - Dynadot client method that executes the get_order_status API call.
async getOrderStatus(orderId: string): Promise<DynadotResponse> { return this.call("get_order_status", { order_id: orderId }); }