get_auction_details
Retrieve comprehensive auction information including current bids and status for domain auctions on Dynadot. Use this tool to monitor auction progress and make informed bidding decisions.
Instructions
Get detailed information about a specific auction, including current bids and auction status.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auction_id | Yes | Auction ID to get details for | |
| include_bids | No | Also fetch bid history for this auction |
Implementation Reference
- src/tools/marketplace.ts:240-256 (handler)Handler function for the 'get_auction_details' MCP tool.
async ({ auction_id, include_bids }) => { try { const details = await client.getAuctionDetails(auction_id); if (include_bids) { const bids = await client.getAuctionBids(auction_id); return { content: [ { type: "text" as const, text: JSON.stringify({ details, bids }, null, 2), }, ], }; } return { content: [ { type: "text" as const, text: JSON.stringify(details, null, 2) }, - src/tools/marketplace.ts:229-239 (registration)Tool registration for 'get_auction_details' with schema definition.
server.tool( "get_auction_details", "Get detailed information about a specific auction, including current " + "bids and auction status.", { auction_id: z.string().describe("Auction ID to get details for"), include_bids: z .boolean() .optional() .describe("Also fetch bid history for this auction"), }, - Dynadot client method that actually executes the API call for 'get_auction_details'.
async getAuctionDetails(auctionId: string): Promise<DynadotResponse> { return this.call("get_auction_details", { auction_id: auctionId }); }