List uploaded files
list_filesList the files people sent to one of your upload links. Small text files come back inline; other files have a download_url to give the user. Set wait (up to 20 seconds) to wait for the first file to arrive.
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": {
"id": "<id>",
"key": "<key>"
},
"name": "list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The link id, from the tool that made the link. | |
| key | Yes | The link's key, from the tool that made the link. | |
| wait | No | Seconds to wait for the first file. Default 0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| files | Yes | ||
| expires_at | Yes | null: it never expires. |