Read a task's conversation
get_messagesRead the conversation of a task started with start_task, oldest first: your messages, the agent's answers and questions, and Sinatra's notices. Pass after to read only newer messages. Reads only.
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": {
"task_id": "<task_id>"
},
"name": "get_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | The id of the last message already read (or next from the previous page). | |
| limit | No | ||
| task_id | Yes | The task id (from list_tasks). | |
| workspace_id | No | The task's workspace id (from whoami). Optional: Sinatra finds it from task_id. |