Document to Markdown (Layout)
document_to_markdownReturn the document as structured Markdown (headings, tables, lists, code blocks, math).
Brainiall Doc Layout engine. The single API for converting documents to LLM-friendly 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": {
"pdf": "<pdf>"
},
"name": "document_to_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Base64-encoded PDF document | ||
| page_range | No | Page range like '1,2,5-10' or null for all pages |