get_session_state
Retrieve the current structured state of a collaboration session, including tasks, assigned agents, and session metadata. Use to review task assignments and active participants.
Instructions
Get the current state of a collaboration session - tasks, agents, and session state.
AUTOMATIC TRIGGERS - Call this when:
You need to see the task list and assignments
Checking which agents are in the session
Reviewing session metadata (status, created_at, etc.)
DIFFERENCE from session_context: This returns raw structured data (tasks, agents, state dict). Use get_session_context for a formatted narrative view.
PARAMETERS:
session_id: ID of the session
agent_id: Your agent ID (must belong to the session)
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>",
"agent_id": "<agent_id>"
},
"name": "get_session_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| session_id | Yes |