export_base64
Convert a document to any supported format and retrieve it as a base64-encoded string. Specify the document ID and target format for direct encoding.
Instructions
Export the document to the specified format and return as base64
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": {
"doc_id": "<doc_id>"
},
"name": "export_base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| fmt | No | docx |