Load a Kiro session
kiro_session_loadResume a saved local or cloud session and attach it to this server, replaying history and returning a summary plus cursor for polling.
Instructions
Resume a saved local or cloud session (session/load) and attach it to this server, like kiro-cli chat --resume-id. Pass session_id, or latest: true with cwd for the most recently updated session in that workspace (--resume). Replayed history goes into the session's event feed marked replay; the result has a short replay summary and the cursor to poll from. Cloud sessions keep streaming, and approvals that were waiting are returned in pending_permissions.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "kiro_session_load"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Workspace directory inside KIRO_MCP_ROOTS. | |
| latest | No | ||
| session_id | No | Kiro session id (sess_<uuid>). | |
| additional_directories | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modes | Yes | ||
| cursor | Yes | ||
| source | Yes | ||
| commands | Yes | ||
| session_id | Yes | ||
| current_mode | Yes | ||
| context_usage | Yes | ||
| config_options | Yes | ||
| replay_summary | Yes | ||
| already_attached | Yes | ||
| execution_target | Yes | ||
| pending_permissions | Yes |