jumpserver_enter
Enter a target asset through the JumpServer menu by IP or name; an internal probe verifies access, and you can choose an account ID when multiple bastion users are listed.
Instructions
Enter a target asset THROUGH the JumpServer menu by its IP or name. Requires the session to be at the menu. A probe (hostname/whoami/pwd) runs internally and the asset is reported as entered only after it verifies. When the target has multiple authorised bastion users, KoKo shows a numbered list ending in ID>; pass accountIndex (the displayed ID, usually 1 or 2) to pick one, or omit to fail with ACCOUNT_SELECTION_REQUIRED and the parsed list in detail. An asset the bastion cannot reach (网络不通(连接超时)) fails fast as ASSET_UNREACHABLE and is then refused for 2 minutes — report it to the user instead of retrying.
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": {
"target": "<target>"
},
"name": "jumpserver_enter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target asset IP or name, e.g. 203.0.113.101 | |
| accountIndex | No | The account ID shown by KoKo at the `ID>` prompt (usually 1 or 2; matches the number on the screen). |