set_read_state
Mark an email as read or unread in a specified folder by providing its UID, the target state, and a required confirmation token to complete the change.
Instructions
Set state to 'read' or 'unread'. Requires exact user approval and confirm='MARK'.
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": {
"uid": "<uid>",
"folder": "<folder>",
"state": "<state>",
"confirm": "<confirm>"
},
"name": "set_read_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| state | Yes | ||
| folder | Yes | ||
| confirm | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||