Check a conversion
check_conversionCheck whether Convert To It can convert a file from one format to another and in how many steps, and get a link that opens the converter with both formats chosen. Formats are file extensions such as "heic" or "jpg". The conversion itself runs in the user's browser.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "check_conversion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Extension to convert to, e.g. "jpg". | |
| from | Yes | Extension of the file to convert, e.g. "heic". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| url | No | Opens the converter with both formats chosen; the user then picks the file. | |
| from | Yes | ||
| steps | No | Conversions on the most direct route; 1 is direct. | |
| reason | No | Why the conversion isn't possible. | |
| possible | Yes |