extract_content
Converts caller-supplied HTML to Markdown or plain text without fetching a page; accepts a source URL and configurable character limit.
Instructions
Convert caller-supplied HTML without a network request. This does not verify its origin.
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>",
"source_url": "<source_url>"
},
"name": "extract_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| max_chars | No | ||
| source_url | Yes | ||
| output_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||