files_info
Get metadata and download URLs for files by their IDs.
When to use:
After messages_read_history returns attachment_file_ids
To get a presigned download URL to read a received file
Returns: filename, mime_type, byte_size, download_url (1-hour presigned URL).
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_ids": "<file_ids>"
},
"name": "files_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_ids | Yes | List of file IDs (max 20) | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |