ssh_unlock
Prompts the user to run rsh unlock --session <name> in their own terminal when sudo requires a password, because the tool cannot enter passwords.
Instructions
模式3:sudo 需要用户密码。此工具不能替用户输入,会返回请用户在自己终端执行 rsh unlock --session <名字> 的提示。
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": "<session>"
},
"name": "ssh_unlock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes |