trust_new_host_key
Clears a monitored host's remembered SSH key so the next check accepts the key it now presents, for hosts you rebuilt or reinstalled. Confirm with the user before running.
Instructions
Forgets the remembered SSH key of a monitored host so the next check trusts the key it presents now. Only for a host the user rebuilt or reinstalled: an unexpected key change can mean another machine is impersonating it. Confirm with the user first.
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": {
"host": "<host>"
},
"name": "trust_new_host_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | The host exactly as configured in UBUNTU_HOSTS, e.g. 192.168.1.10 or host:2222. |