file_url
Returns a file's metadata (name, mime type, type, size, upload date and author) and a signed, time-limited download URL by fid - for video, archives, design assets and other files not returned inline; downloadURL is null where the storage has no signed links. Access follows the items the file is attached to; a design file ID no longer found was replaced by a re-import. attachToken can be inserted into a spec / result as is.
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": {
"fid": "<fid>"
},
"name": "file_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fid | Yes | File ID: an attaches key, the fid in attach:<fid> or a design file ID |