remote_session_password
Send passwords to remote sessions for sudo, SSH passphrases, or other secret prompts, with input automatically hidden from responses.
Instructions
Send a password to a session. Input is automatically hidden in responses.
Use when prompted for sudo password, SSH passphrase, or other secret input.
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": {
"password": "<password>"
},
"name": "remote_session_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | Password to send | |
| waitTime | No | Wait time for output (ms). Default: 3000 | |
| sessionId | No | Session ID (defaults to active session) |