Get service pods
get_service_podsPods of one service, or of the WHOLE ENVIRONMENT without serviceName: phase, ready, restart count, node, age, images, and the most recent container termination (reason such as OOMKilled, exit code, when) if there was one. READ-ONLY: takes a snapshot from the cluster, changes nothing. Starts an agent command and polls for it, up to about 10 seconds (roughly one request per second); a repeat call for the SAME environment+service within a few seconds reuses the snapshot already in flight instead of asking the agent again. If the cluster has not answered within the window, the response still comes back, usually still PENDING: call again rather than retry in a tight loop. 409: the CLUSTER AGENT is older than 0.3.0 (agent_outdated: body {error, message, capability, requiredVersion, agentVersion})
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": {
"environmentId": "<environmentId>"
},
"name": "get_service_pods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serviceName | No | Only this service's pods; omitted means every pod of the environment | |
| environmentId | Yes | Environment UUID (from list_environments) |