Read role messages
read_messagesA role's mailbox, oldest first. By default only unread messages; they stay unread until mark_messages_read, so a check-in that stops halfway loses nothing. It also lists the notes changed since this role last called it (notes_changed, newest first; get_note for any you need) and the pinned 'always' notes (always_notes).
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": {
"role": "<role>"
},
"name": "read_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peek | No | Just look: don't move this role's notes cursor and leave notes_changed out. For checking on a role you aren't acting as. | |
| role | Yes | The role's name (from list_roles), e.g. 'manager'. | |
| limit | No | How many (default 50). | |
| after_id | No | Only messages after this id. | |
| project_id | No | Workspace to work in (from list_projects). Leave out for the default one. | |
| unread_only | No | Only unread ones (default true). |