Mark Host Messages Read
mark_host_messages_readMarks incoming messages for a hosted machine as read, updating only that host's unread count without confirmation; provide the machine ID and valid incoming message IDs.
Instructions
Mark incoming messages of a hosted machine read, like opening them in the console; it changes only the
host's own unread count, so it needs no confirmation. machine is the machine_id, and message_ids are
message id values from host_messages for that machine (direction "in"). An id that isn't a message of this
machine is refused (not_found) and nothing is marked.
Every write requires operation_id. Reuse the ID returned by the preview, or generate a UUID before the first call. Keep it for confirmation and all retries; a new ID means a new operation. After a timeout, check operation_status and resource state before retrying.
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": {
"machine": "<machine>",
"message_ids": "<message_ids>"
},
"name": "mark_host_messages_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| machine | Yes | ||
| message_ids | Yes | ||
| operation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||