Read expert messages
read_messagesRead new chat messages from the human expert. Poll this after sending a message to get the expert's reply. Returns the session status too — when status becomes ended or cancelled, stop polling and wrap up.
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": {
"session_id": "<session_id>"
},
"name": "read_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ISO timestamp — only return messages after this time. Omit on first call. | |
| session_id | Yes | The session_id from hire_human_expert. |