convert_base64
Convert base64-encoded document bytes into Markdown locally when you lack a filesystem path. Runs on-device via anydoc.
Instructions
Convert document bytes (base64) to Markdown locally. Use when the file content is already in context and you cannot pass a filesystem path. Still runs on-device via anydoc.
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": {
"content_base64": "<content_base64>"
},
"name": "convert_base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Format hint such as "docx", "pdf", "xlsx", "csv" | |
| filename | No | Optional filename used to infer format from extension | |
| content_base64 | Yes | Base64-encoded document bytes |