agent_info
Retrieve detailed information about any coding agent session, including the model used and the last message, to inspect session state.
Instructions
Get detailed info about a specific session. Always shows model and last message.
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": {
"sessionId": "<sessionId>"
},
"name": "agent_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| harness | No | Harness type | |
| sessionId | Yes | Session ID to inspect |