output
Retrieves the final reply from a specified session's most recent turn, so you can fetch completed agent results by session ID.
Instructions
Final reply of the most recent turn.
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": "<session>"
},
"name": "output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Session id returned by open |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | ||
| turn_id | Yes |