Document Format Conversion
convert_document_formatAccepts a document as base64 or URL and converts between PDF, DOCX, RTF, HTML, and plain text. Preserves formatting fidelity. Useful as a pre-processing step before data extraction on non-standard file types.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "convert_document_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Original filename with extension (e.g. 'resume.docx'). Defaults to 'resume.txt' if omitted. | |
| outputtype | No | Target format: 'pdf' (default), 'doc', 'docx', 'dot', 'rtf', or 'html'. | |
| resume_text | No | Plain text content of the resume/document. The server encodes it internally. | |
| facedetection | No | Set 'true' to detect and preserve face images during conversion. |