Kiro session state
kiro_session_stateRetrieve a Kiro session's state, including MCP servers, tools, steering, skills, config, context, and models, to verify what the session will use and diagnose configuration errors.
Instructions
Snapshots of what a session will use: MCP servers (status, failed authorization, tool names), tool tags, steering documents, skills, powers, governance flags, agent config errors, the command catalog, modes, config options, context usage (plus _kiro/session/context), and the /config panel including hooks (_kiro/configuration/getState). A snapshot that has not arrived yet comes back with received: false. Large fields (tool schemas, steering content, skill descriptions) are left out unless verbose. models works without a session (kiro-cli chat --list-models).
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": {
"include": "<include>"
},
"name": "kiro_session_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | Yes | ||
| verbose | No | ||
| session_id | No | Kiro session id (sess_<uuid>). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| session_id | Yes |