to_markdown
Convert a source document to Markdown, with optional page selection and password support. Prevents oversized conversions by refusing to proceed when the token budget is exceeded.
Instructions
Convert a document to markdown. Refuses when over the token budget.
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": {
"source": "<source>"
},
"name": "to_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| source | Yes | ||
| password | No |