waiaas_pm_get_market_detail
Retrieve detailed information about a specific Polymarket prediction market using its condition ID to analyze market data and outcomes.
Instructions
Get detailed information about a specific Polymarket prediction market.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition_id | Yes | Market condition ID. |
Implementation Reference
- The implementation of the 'waiaas_pm_get_market_detail' MCP tool handler within the Polymarket tools registration. It takes 'condition_id' as an argument and performs a GET request to the Polymarket API.
// pm_get_market_detail server.tool( 'waiaas_pm_get_market_detail', 'Get detailed information about a specific Polymarket prediction market.', { condition_id: z.string().describe('Market condition ID.'), }, async (args) => { const result = await apiClient.get(`/v1/polymarket/markets/${args.condition_id}`); return toToolResult(result); }, );