list_attachments
Lists iMessage attachments with local file paths, sizes, types, and linked message metadata. Filter by message or chat and page results to inventory media in the macOS Messages database.
Instructions
列出 iMessage 附件,返回本机文件路径、大小、类型和关联短信等元数据。只读。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 最多返回多少个附件。 | |
| offset | No | 分页偏移量。 | |
| message_id | No | 可选。短信在数据库中的 message row ID。 | |
| chat_identifier | No | 可选。聊天 ID、chat_identifier、guid、显示名称或群聊 room_name。 |