close_session
Close an active session to free runtime resources after its task, such as a merged branch, is complete.
Instructions
Close a session, releasing it from the runtime. Typical use: after merge_branch reports success, close_session the source branch that was just merged in -- it has been integrated and no longer needs to stay open.
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": "close_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session to close. |