Export Markdown
export_markdownConvert a document to Markdown. Policy fallback (default) keeps readable text for blocks Markdown cannot express; archival preserves every block losslessly.
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": {
"document": "<document>"
},
"name": "export_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | No | ||
| document | Yes | The Publisle document: an object with schemaVersion and blocks, as returned by the other tools. |