silkworm_fetch
Fetch page HTML via configurable HTTP requests and cache it for later selector work, enabling structured data extraction.
Instructions
Fetch a page through silkworm's HttpClient and optionally cache the HTML for later selector work.
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>"
},
"name": "silkworm_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| label | No | ||
| method | No | GET | |
| params | No | ||
| headers | No | ||
| body_json | No | ||
| body_text | No | ||
| emulation | No | Firefox139 | |
| keep_alive | No | ||
| store_document | No | ||
| timeout_seconds | No | ||
| body_preview_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| via | Yes | ||
| method | Yes | ||
| status | No | ||
| headers | No | ||
| is_html | Yes | ||
| summary | No | ||
| emulation | No | ||
| final_url | Yes | ||
| body_chars | Yes | ||
| body_preview | Yes | ||
| document_handle | No |