New Kiro session
kiro_session_newStart a Kiro CLI V3 session in a workspace and attach it to this server; optionally set agent mode, model, effort, or create a cloud sandbox session.
Instructions
Create a Kiro CLI V3 session (session/new) in a workspace inside KIRO_MCP_ROOTS and attach it to this server. Optionally pick the agent mode (vibe, plan, spec, quick-spec, bug-fix, autonomous, or a custom agent), model, and effort; values Kiro did not apply are listed in warnings. execution_target cloud creates a cloud sandbox session on the given repos. Caller-supplied MCP servers are never accepted. Also how to compose /clear (start a new session) and /spawn (a new session plus kiro_prompt).
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": {
"cwd": "<cwd>"
},
"name": "kiro_session_new"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Workspace directory, inside KIRO_MCP_ROOTS (relative paths resolve against the first root). | |
| mode | No | Initial agent mode id, as advertised by Kiro. | |
| model | No | Initial model id. | |
| repos | No | owner/name repositories for a cloud session. | |
| title | No | Session title, set with _kiro/session/rename. | |
| effort | No | Initial effort level, when the model supports it. | |
| execution_target | No | `cloud` runs the session in a Kiro cloud sandbox. | |
| additional_directories | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modes | Yes | ||
| title | Yes | ||
| cursor | Yes | ||
| commands | Yes | ||
| warnings | Yes | ||
| session_id | Yes | ||
| current_mode | Yes | ||
| context_usage | Yes | ||
| config_options | Yes | ||
| execution_target | Yes |