List guarded hosts
list_hostsRetrieves configured SSH hosts and their server IDs from the local guard hosts file without network access, so agents can identify available targets before requesting actions.
Instructions
Hosts in the ssh-mcp-guard hosts file, with their server ids. No network access.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_hosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||