get_attachment
Retrieve attachment metadata including filename, filesize, content type, URL, and author using the numeric attachment ID.
Instructions
Gets metadata of an attachment by its ID (filename, filesize, content_type, content_url, author, etc.).
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>"
},
"name": "get_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric attachment ID |