store_html_document
Store raw HTML in an in-memory cache and generate a scraper summary, enabling reuse for parsing and extraction tasks.
Instructions
Store raw HTML in the server's in-memory document cache and return a scraper_rs summary.
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": {
"html": "<html>"
},
"name": "store_html_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| label | No | ||
| source_url | No | ||
| max_size_bytes | No | ||
| truncate_on_limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| title | No | ||
| handle | No | ||
| status | No | ||
| form_count | Yes | ||
| html_chars | Yes | ||
| link_count | Yes | ||
| source_url | No | ||
| text_chars | Yes | ||
| fetched_via | No | ||
| image_count | Yes | ||
| text_preview | Yes | ||
| heading_preview | No |