shell_session_revoke
Immediately terminates a potentially compromised session and rebuilds it without injected secrets, returning a new sessionId for safe continued shell work.
Instructions
Immediately kill a session and rebuild a fresh one WITHOUT any injected secrets. Use when a session may have been compromised. Returns the new sessionId.
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": {
"sessionId": "<sessionId>"
},
"name": "shell_session_revoke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes |