Close Terminal Session
terminal_closeCloses a shared terminal session for all attached clients and releases its transport. Use it to end collaboration fully; detach one client instead when the session should stay open.
Instructions
Close the shared terminal Session for every attached client and release its transport; use terminal_session_detach to record only one client's departure without closing it.
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": "terminal_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Active Session ID or short reference. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| closed | Yes | ||
| session_id | Yes | ||
| session_ref | Yes |