Ask the user for files
request_uploadOpen an upload page for the user's own photos, videos or audio (from their computer or phone). Give the user the link; they open it and drop files in, no sign-in needed on that device. Then call get_upload with the upload_id to get popnow:// links for the other tools. The link works for 30 minutes. Free.
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": "request_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional one line shown on the upload page, for example: Your product photos (front and side). | |
| kinds | No | What the user will upload: image, video, audio. Default all three. | |
| max_files | No | How many files, 1 to 10. Default 5. |