smart_fetch
Purpose: Fetch a public HTTP(S) URL and return Markdown-friendly content. When to use: The user provides a link and needs the page body or article text. When NOT to use: Full text is already in the conversation, or the target is not a fetchable URL. Returns: JSON string (parse it). Typically includes markdown or extracted text fields. Composes with: smart_context_gate after fetch for long pages; smart_search when no URL yet.
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": "smart_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full HTTP or HTTPS URL to fetch. | |
| timeout | No | HTTP timeout in seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |