Create upload link
create_upload_linkCreates a single-use upload link for one file. The link expires after 10 minutes and accepts a file up to 50 MB. page_url opens the upload page. The file name is sent with the conversion so the download is named from it.
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": {
"filename": "<filename>",
"size_bytes": "<size_bytes>",
"from": "<from>"
},
"name": "create_upload_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Input format, for example stl or png. Use step for a STEP or STP file. STEP is not an output. Image inputs convert only to image outputs. | |
| filename | Yes | Original file name, for example model.stl or photo.png. The extension must match the format. The base name is used for the converted file. | |
| language | No | Language the user is chatting in, for example de, pt-BR, or zh-TW. Used for the upload page. | |
| size_bytes | Yes | File size in bytes. A file over 50 MB is rejected here. The upload itself can be any size up to 50 MB. |