jms_switch_terminal_user
Switch to a verified remote user in an active JumpServer shell using sudo or su, with optional password.
Instructions
Switch to a verified remote user within the existing JumpServer shell.
Use sudo for sudo-policy authentication and su for target-account
authentication. Supply password only when the remote host requires it.
The MCP client or model may retain that tool argument in its trace history.
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_handle": "<session_handle>",
"target_user": "<target_user>"
},
"name": "jms_switch_terminal_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | sudo | |
| password | No | ||
| target_user | Yes | ||
| session_handle | Yes | ||
| total_timeout_seconds | No | ||
| settle_timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||