mark_message_read
Mark one received Swarmail message as read without acknowledging it, returning its read status and timestamp. Use when no acknowledgement is required.
Instructions
Mark one received message read without acknowledging it, returning message_id, read and read_at. A repeat keeps the first read time but refreshes your agent's activity time. fetch_inbox already marks what it returns unless mark_read:false. When the message has ack_required, use acknowledge_message instead. Fails with NOT_FOUND unless you are a recipient.
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": {
"project_key": "<project_key>",
"agent_name": "<agent_name>",
"message_id": "<message_id>"
},
"name": "mark_message_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_name | Yes | Your registered agent name. | |
| message_id | Yes | Message id. | |
| project_key | Yes | Absolute path of the repository's primary checkout. |