Reveal Machine Credentials
machine_credentialsReveal a hosted machine's SSH, IPMI, or Grafana login only when the user asks, requiring confirmation before credentials are disclosed.
Instructions
Reveal one login of a hosted machine, as its console view shows it, only when the user asks for it.
kind "ssh" is a shell on the host machine itself (host, port, username, password and the command), "ipmi"
controls its power and console out of band, and "grafana" opens its metrics dashboard. machine is the
machine_id from the machines tool.
The account owner is emailed every time a login is revealed, and it needs a read & write key.
With confirm=false (default) it only says what would be revealed and reveals nothing; call again with
confirm=true after the user agreed. Give the login to that user and nobody else: never use it yourself or put it
in files, commits or other tools. A login the machine doesn't have is credentials_not_available.
The server keeps no operation record of this call, so operation_status can't look it up and a repeated confirmed call runs again.
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": {
"machine": "<machine>"
},
"name": "machine_credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ssh | |
| confirm | No | ||
| machine | Yes | ||
| operation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||