ask_page
Ask natural language questions about a storefront page and get answers grounded in product data, facets, performance metrics, and a screenshot. Reuses cached scrapes to save time.
Instructions
Ask any natural language question about a storefront page. The AI sees the full product data, facets, performance metrics, and a screenshot. If scrape_page was called on this URL within the last 10 minutes, the cached data is reused — no re-scrape. Use this for ad-hoc questions like "which products are on sale?", "can users filter by size?", "what's the average price?", or "is this page fast enough?". Tip: for slow or local AI models, call scrape_page first, then ask_page — the scrape will be reused.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>",
"question": "<question>"
},
"name": "ask_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full http/https URL to scrape and ask about. | |
| depth | No | Pages of pagination to scrape first (default 1). | |
| question | Yes | Your question about the page, in plain language. | |
| max_products | No | Max products per page (default 10). |