Calls for help from the 3D view
doctor_callsFetches open doctor calls for a cluster and its unhealthy pods, with each pod's problem, restarts, last exit, manager, fix location, and whether you may act.
Instructions
Somebody walking through a cluster in the portal's 3D view has asked for a doctor. Returns each open call (the cluster, the pod it is about when there is one, who asked) and that cluster's unhealthy pods: their problem, restarts, how their last run ended, who manages them and where a cure belongs (fix_in). It also says whether YOU may change anything, and when not, which gate is shut. Pass cluster to visit one nobody has called from. said_to_you is what people in the view have typed to you, and conversation is what was said lately on both sides, so you carry it on rather than start over. A call made by speaking carries the line that made it (said): answer that first. portal_answers: true means this portal sends a doctor of its own to this person's calls: leave the open calls to it, unless the person asks you directly.
A visit is a conversation the person watches, pod by pod, each line sent with doctor_note: walk up (arrived); ASK the pod what is wrong (asking); read its log and description with the read tools; give the pod's ANSWER in its own voice (voice: pod); say what you found (examining) and what would cure it.
Where the cure goes depends on who manages the pod. fix_in: git means a GitOps tool keeps it: change its settings in Git with the config tools, because a change made in the cluster is put back. fix_in: cluster means the cluster actions (restart, scale, undo), on a cluster that allows management. A CALL IS A REQUEST FOR HELP, NOT AGREEMENT TO A PARTICULAR CHANGE: before anything that changes a cluster or a repository, say exactly what you intend and get the person's agreement, as for every other changing tool. When you may not change anything, say which gate is shut so the person can open it. Report treating while you act, then healed only once the cluster itself shows the pod healthy, or failed.
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": "doctor_calls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster | No | a cluster's id or name, to visit it without waiting for a call |