file-convert
Convert documents, web pages, spreadsheets, and images between formats like PDF, DOCX, XLSX, HTML, and JPG. Provide a source URL and format to get the target format.
Instructions
Convert documents, web pages, spreadsheets and images between formats. Cost: 2 credits.
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": {
"file_url": "<file_url>",
"source_format": "<source_format>"
},
"name": "file-convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_url | Yes | URL of the file to convert (for source_format web, the page itself). | |
| source_format | Yes | Format of the file: pdf, docx, pptx, xlsx, csv, html, web (a page, from its HTML without JavaScript), txt, epub, svg, png, jpg, webp, gif, bmp, tiff or heic. | |
| target_format | No | Format to convert to. The conversion table's pairs convert in-house; other pairs go to ConvertAPI. |