get_file
Retrieve full metadata for a File Manager file, including its hosted URL and dimensions. Requires a file ID from list_files.
Instructions
Retrieve full metadata for a single File Manager file.
Use when you have a file_id (from list_files) and need its hosted URL, dimensions, or folder. Use list_files to browse and discover file_ids.
Returns 404 error if file_id is invalid.
Args: file_id: File ID (numeric, as a string) from list_files.
Returns: JSON with id, name, type, full_size_url, thumbnail_url, size, width, height, folder_id, created_at, created_by.
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_id": "<file_id>"
},
"name": "get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| file_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |