Host a file
create_file_uploadStart hosting a photo, video, audio file or PDF for a hosted file QR code (up to 10 files per account). Returns a one-time upload_url (valid 30 minutes) and the file_url the file will have. Upload the raw file with the returned curl command, then call create_qr_code with content set to file_url. Counts as one QR API request.
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": "create_file_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | No | Name of the file, e.g. menu.pdf. Shown when someone downloads it. |