view_emails
Read email headers and bodies from search_emails result paths, converting HTML-only messages to plain text and limiting each message's returned text.
Instructions
Read emails (headers + body as text) given paths from search_emails.
HTML-only emails are converted to plain text.
Args: paths: message file paths. max_chars: per-message cap on returned text.
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": {
"paths": "<paths>"
},
"name": "view_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |