list_attachments
List attachments in a chat, showing type, metadata, and download status. Paginate forward deterministically with a cursor.
Instructions
List archived messages in a chat that carry an attachment (image/video/audio/document/sticker), with metadata and whether bytes are downloaded. Deterministic forward pagination.
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": {
"chatId": "<chatId>"
},
"name": "list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| chatId | Yes | ||
| cursor | No |