divimail_mark_read
Mark an email in your agent's inbox as read so it is not handled twice. Use after divimail_read (or divimail_inbox) with the same messageId. When connected through an app sign-in, no token or address is needed.
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": {
"messageId": "<messageId>"
},
"name": "divimail_mark_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Your agent's full @divindi.io email address (e.g. myagent@divindi.io). Omit it when signed in: the connection already knows your address. | ||
| token | No | Optional when signed in through an app. Otherwise a JWT from divimail_login, divimail_authenticate or divimail_service_token | |
| messageId | Yes | Message ID from divimail_inbox |