Get Replies
get_repliesThe Agent’s unacknowledged events, oldest first: replies (the answer as JSON in reply, the request in in_reply_to), requests people started from its catalog (initiate), and what became of email invitations (invitation: accepted — with the delivered request_id — declined or expired), and people who paired with its code (paired: their email and connection_id). They stay until you acknowledge them — call acknowledge once handled. Read receipts (receipt: delivered — it reached their device — then read, per person) are left out unless include_receipts is true. Optionally wait up to 20 seconds for something to arrive; call again to keep waiting. Give ONE of: thread (from send_request) — only that request's events; use it whenever you're following up a request — or all: true — every event, only when the person asks for all of the Agent's replies, or to see who paired or started a request. Acknowledge each reply once you've told the person about it.
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": {
"agent_id": "<agent_id>"
},
"name": "get_replies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Every event, not just one request's — only when the person asks for all replies, or to see pairings and started requests. | |
| thread | No | Only this request's events (its thread, from send_request). | |
| agent_id | Yes | The Agent (from list_agents or create_agent). | |
| wait_seconds | No | Wait up to this long (0–20) if there is nothing yet. | |
| include_receipts | No | Also list read receipts (delivered / read, per person) — to see whether someone has had or opened a request. |