List servers
list_agentsLists the servers and Kubernetes clusters in the signed-in Opservo workspace, with each one's agent_id, kind (linux server or kubernetes cluster), hostname, display name and whether it is online. Archived servers are left out.
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_agents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed: why, in plain English (unknown server, server from another workspace, not a Kubernetes cluster). | |
| agents | No | Servers and clusters in the workspace, most recently seen first. | |
| next_step | No | Present only when the workspace has no server yet: what to tell the user so they can add one. | |
| add_server_url | No | Present only when the workspace has no server yet: the page that shows their one-line install command. |