cancel_transfer
Cancel a pending domain transfer to stop the process before completion. Use this tool to halt domain transfers initiated through the Dynadot registrar.
Instructions
Cancel a pending domain transfer.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name to cancel transfer for |
Implementation Reference
- src/tools/transfer.ts:60-84 (handler)The MCP tool registration and handler implementation for cancel_transfer. It calls the client.cancelTransfer method.
server.tool( "cancel_transfer", "Cancel a pending domain transfer.", { domain: z.string().describe("Domain name to cancel transfer for"), }, async ({ domain }) => { try { const result = await client.cancelTransfer(domain); 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: `Cancel transfer failed: ${msg}` }, ], isError: true, }; } } ); - The underlying client method that performs the API call to cancel the transfer.
async cancelTransfer(domain: string): Promise<DynadotResponse> { return this.call("cancel_transfer", { domain });