imap_fetch
Fetch complete email message bodies by UID from search results, with optional mailbox selection and character-limit controls.
Instructions
Fetch full message bodies by UID, as returned by imap_search.
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": {
"account": "<account>",
"uids": "<uids>"
},
"name": "imap_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uids | Yes | ||
| account | Yes | ||
| mailbox | No | INBOX | |
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |