Request upload
request_uploadGet a link where the user can upload files from their device (a photo of themselves, a product image, a clip, a voice track).
Use this whenever the user refers to a file you cannot give a
public URL for, including anything they attached to this chat:
attachments cannot be passed to Affogato. Show the user
`upload_url` as a clickable link and ask them to tell you when they
are done, then call `get_upload` with `request_id` for the file ids.
`purpose` is shown on the page: say what to upload ("A clear photo
of your face"). `kind` is image, video, audio or any. The link
works for one hour and only for a signed-in member of this
workspace. Costs no credits.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": {
"purpose": "<purpose>"
},
"name": "request_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | any | |
| purpose | Yes | ||
| max_files | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||