Find attachments
find_attachmentsFind attachments by filename, kind (pdf, image, doc, sheet or any), sender, participant (anyone on the message: sender, To or Cc, by address or name), date and account, newest first. Inline images such as signature logos are skipped unless include_inline is true. Returns mail_id and attachment_id for read_attachment or save_attachment. since accepts ISO ('2026-08-01') or unix seconds.
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": "find_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | any | |
| limit | No | ||
| query | No | ||
| since | No | ||
| sender | No | ||
| account | No | ||
| participant | No | ||
| include_inline | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| truncated | Yes | ||
| attachments | Yes | ||
| skipped_inline | Yes |