place_bid
Place a bid on domain auctions using auction ID and bid amount. Submit bids for domain names through the Dynadot registrar platform.
Instructions
Place a bid on a domain auction. Requires the auction ID and bid amount.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auction_id | Yes | Auction ID to bid on | |
| amount | Yes | Bid amount (e.g., '100.00') | |
| currency | No | Currency for the bid (e.g., 'USD') |
Implementation Reference
- src/tools/marketplace.ts:60-89 (handler)The 'place_bid' tool handler implemented within the `registerMarketplaceTools` function. It takes an auction_id, amount, and optional currency, then calls `client.placeAuctionBid`.
server.tool( "place_bid", "Place a bid on a domain auction. Requires the auction ID and bid amount.", { auction_id: z.string().describe("Auction ID to bid on"), amount: z.string().describe("Bid amount (e.g., '100.00')"), currency: z .string() .optional() .describe("Currency for the bid (e.g., 'USD')"), }, async ({ auction_id, amount, currency }) => { try { const result = await client.placeAuctionBid(auction_id, amount, currency); 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 place bid: ${msg}` }, ], isError: true, }; } } );