request_access
Ask a person to approve SSH access to specific hosts and scopes, with your reason, before you connect. Waits for their answer, which may grant less than you asked.
Instructions
Ask the person for access to hosts. They see your name, the hosts, the scopes and your reason, and may allow less than you asked. Waits up to 100 seconds for the answer; if it is still pending, ask the person to approve it: their answer takes effect by itself, and wait_for_access waits for it.
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": {
"hosts": "<hosts>",
"scopes": "<scopes>",
"reason": "<reason>"
},
"name": "request_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hosts | Yes | Hosts by name, as list_hosts shows them (`team/name` for a team's host). | |
| reason | Yes | What you are going to do and why, in a sentence the person reads before approving. | |
| scopes | Yes | What you need to do there. Prefer `connect` over `exec` unless you will run many commands. | |
| duration | No | For how long; the person may change it. Default: 2h. |