Get Wiki attachment
wiki_attachments_getRetrieve metadata for a specific Yandex Wiki page attachment, including name, size, MIME type, download URL, preview availability, and virus-check status.
Instructions
Metadata of one attachment (GET /pages/{id}/attachments/{file_id}).
Name, size, MIME type, download URL, whether a preview exists and the virus-check status.
Yandex does not document this operation (it is in the live OpenAPI only) and may change it.
Fetching the bytes (download, preview) is CLI/SDK-only.
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": {
"page_id": "<page_id>",
"file_id": "<file_id>"
},
"name": "wiki_attachments_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | Numeric id of the attachment. | |
| page_id | Yes | Numeric id of the page the file is attached to. |