convert_document
Convert PDF, DOCX, PPTX, or XLSX documents from a public URL or local file into Markdown for AI-readable text.
Instructions
Convert one document to Markdown. Give either url or path. The format is detected from the content.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "convert_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) URL of the document. | |
| path | No | Local file to upload instead (up to 10 MB). | |
| max_chars | No | Cut the Markdown to this many characters. |