supporting_file_upload
Upload a supported file (JPEG, PNG, JPG, DOC, DOCX, PDF; max 20 MB) to UQPAY and return a file_id for use in other API calls.
Instructions
Upload a file to UQPAY (max 20 MB). Supported formats: jpeg, png, jpg, doc, docx, pdf. Returns a file_id for use in other API calls.
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_base64": "<file_base64>",
"filename": "<filename>"
},
"name": "supporting_file_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Optional notes to attach to the file | |
| filename | Yes | Filename including extension, e.g. "passport.pdf" | |
| mime_type | No | MIME type, e.g. "application/pdf". Defaults to "application/octet-stream". | |
| file_base64 | Yes | Base64-encoded file content | |
| on_behalf_of | No | Sub-account ID to act on behalf of. Pass the short account ID (e.g. "CB4488338944") to operate on a sub-account; omit to operate on the master account. |