convert_document
Converts documents to a specified target format, auto-detecting source type and applying source-specific output path rules.
Instructions
Consolidated document conversion entrypoint.
Dispatches to the existing conversion tools so each source family keeps its established output-path containment policy.
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>",
"target_format": "<target_format>"
},
"name": "convert_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | content | |
| source | Yes | ||
| md_text | No | ||
| async_mode | No | ||
| output_path | No | ||
| source_format | No | auto | |
| target_format | Yes |