terminal_close
Close a running terminal session by its name, sending SIGTERM to end the process. Use force option to send SIGKILL if graceful termination fails.
Instructions
Close a terminal session by name. Sends SIGTERM to the process running in the pane.
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": {
"name": "<name>"
},
"name": "terminal_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Terminal name to close | |
| force | No | Force kill with SIGKILL if SIGTERM doesn't work (default: false) |