Page Text Snippets
importio_page_snippetsCompact helper: optionally navigate to a URL, then return visible text snippets around a query. Use this to inspect neighborhoods around product names, labels, prices, or selector-like words without requesting the full HTML. Supports max_snippets and context_chars. URL navigation supports managed proxy selection and bounded blocked-page retries. snake_case and camelCase parameter names are equivalent aliases (wait_for_selector / waitForSelector, max_snippets / maxSnippets, context_chars / contextChars); provide either form.
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": {
"query": "<query>"
},
"name": "importio_page_snippets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional URL to navigate to before searching; omit it to search the current page. | |
| wait | No | Wait for the page load to settle before searching. | |
| query | Yes | Text to collect visible snippets around. | |
| maxSnippets | No | Alias of max_snippets; provide either form. | |
| proxy_retry | No | Bounded blocked-page retry policy for the navigation. | |
| contextChars | No | Alias of context_chars; provide either form. | |
| max_snippets | No | Maximum number of snippets returned. | |
| context_chars | No | Characters of surrounding context per snippet. | |
| proxy_selection | No | Managed proxy selection for the navigation; omit it to use the server default. | |
| waitForSelector | No | Alias of wait_for_selector; provide either form. | |
| wait_for_selector | No | CSS selector that must exist before snippets are collected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| query | Yes | ||
| snippets | Yes | ||
| truncated | Yes |