get_closing_soon_markets
Retrieve active prediction markets closing within specified hours, sorted by end date. Use to monitor upcoming market resolutions on Polymarket.
Instructions
Get markets closing within specified hours. Returns active markets sorted by endDate. Example: hours=24, limit=20.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_closing_soon_markets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | Number of hours to look ahead (default: 24) | |
| limit | No | Maximum number of results (default: 20, max: 100) |