Deals ending soon
get_expiring_dealsLive deals whose end time falls within the next 48 hours (configurable), soonest-ending first, each with hours_left. Use for 'what deals are ending today / about to expire?' questions. Results link to each deal's page on stackthedeal.com only.
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_expiring_deals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max deals to return (1-50, default 20). | |
| offset | No | Pagination: skip this many matches (use the next_offset from the previous result to page further). | |
| within_hours | No | Only deals ending within this many hours from now (default 48, max 720). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deals | No | ||
| next_offset | No | ||
| total_matching | No |