doc_to_md
Fetch a URL (web page or PDF) and return clean markdown; set chunks=true for RAG-ready text chunks.
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": "doc_to_md"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| url | Yes | http(s) URL of a web page or PDF | |
| chunks | No | return paragraph-aligned text chunks instead of full markdown |