fetch_page_content
Fetch and extract content from a web page. Returns the page content in markdown format.
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": "fetch_page_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to fetch. Example: "https://example.com" | |
| live | No | Fetch the page live from the source instead of returning Keenable's indexed copy. Use it for pages that change often or URLs that are not indexed. | |
| prompt | No | Extraction instruction for this page. When set, an LLM reads the fetched page and the returned content is only the output for this instruction instead of the full page; use it when you need one detail from a long page. Example: "List all pricing tiers with their monthly prices". | |
| max_chars | No | Character budget for the returned page content; anything beyond it is cut off. Lower it to save context on long pages. When omitted, up to 50000 characters are returned. | |
| session_id | No | Id of the agent session making this call. Send the same value on every call in one session so its requests can be grouped. | |
| output_format | No | Response format: 'text' for readable text, or 'json' for the raw response serialized as JSON when you need to parse fields programmatically. | text |