Fetch document (ChatGPT-compatible)
fetchRetrieve the full sanitized text of one email by its search result ID, so you can read the complete message after locating it.
Instructions
Returns the full sanitized text of one email by the id returned from 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": {
"id": "<id>"
},
"name": "fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id from search |