Configure a Kiro session
kiro_session_configureConfigure an attached Kiro session by switching its agent mode, model, effort level, or other advertised options, validating every value before applying changes and returning the updated settings.
Instructions
Switch an attached session's agent mode (session/set_mode: vibe, plan, spec, quick-spec, bug-fix, autonomous, or a custom agent), model and effort (session/set_config_option model and effortLevel), or any other advertised option such as autopilot or memoryReflection, like /model, /effort, /agent, and /plan. Every value is checked against what Kiro last advertised for the session; on VALUE_NOT_ADVERTISED nothing changes. Returns the options as Kiro reports them after the change. title renames the session. For /spec run, select mode spec and prompt the agent to run the named spec.
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>"
},
"name": "kiro_session_configure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Agent mode id. | |
| model | No | Model id. | |
| title | No | ||
| effort | No | Effort level. | |
| options | No | Config option id to value. | |
| session_id | Yes | Kiro session id (sess_<uuid>). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| changed | Yes | ||
| session_id | Yes | ||
| current_mode | Yes | ||
| config_options | Yes |