In your cluster: your team’s Lumovi gives assistants the same tools.
list_clusters lists the clusters you may see there, and a change that’s still waiting names the server’s address. See AI assistants on a server.
No answer of any tool holds more than about 64,000 characters. Past that, it’s cut at a line, and says how much it left out and how to ask for less.
When an assistant connects, Lumovi also tells it how to go about it: start with
list_clusters; to see what’s wrong, find_problems first, then get_resource, get_events and get_logs on what it finds, and get_rollout_history for what changed; find_in_clusters says which cluster has something. Changes wait for your approval, so it should say why in reason, tell you to look at Lumovi, and follow the note of a change you reject. A call waits for your answer up to a minute: if it says it’s still waiting, the assistant calls wait_for_change with the id it gives, until you answer.
Parameters they share
The cluster: a context’s name, as
list_clusters gives them. For one that isn’t in your kubeconfig, or that your permissions hide, the assistant is told which are: There is no cluster called “prod”. These are: demo, sandbox, …A kind, as
kubectl takes it: Deployment, deploy, deployments, deployments.apps, svc, or a custom resource’s, like Certificate or certificates.cert-manager.io. Built-in kinds come first, so Event is the core one, not events.k8s.io’s. For one the cluster doesn’t serve: demo has no kind “gizmos”. list_kinds lists the ones it has.The object’s namespace. Needed for one object of a namespaced kind: Pods are namespaced: say which namespace.
Reading
These tools only read. Lumovi marks them so for the assistant (MCP’sreadOnlyHint), so an assistant that asks you before it uses a tool can tell them from the others. What each needs from your RBAC is in Permissions.
list_clusters
The clusters in your kubeconfig that your permissions don’t hide, and which is the current one (unless it’s hidden). For each: its name, its API server’s address, its default namespace when the context has one, and what assistants may do with it:changes:ask,allow,never, orread-onlyfor a read-only cluster.secrets:values,keysorhidden.env:show,sensitiveorall, the env values hidden.logs:readoroff.inSomeNamespaces: the rules that say otherwise in some of its namespaces, each with the namespaces it names and what it says; an administrator’s withat most, likelogs: at most off. Rules that hide aren’t told.
yes, in 42 ms (Kubernetes v1.34.1), or no: and why. It asks every cluster at once, and waits 3 seconds for each: past that, no answer within 3 s. So an assistant leaves one that’s down alone. A cluster you sign in to through a credential plugin isn’t asked at all, since that could open a browser or ask you in a terminal: it says not asked: it needs sign-in through a credential plugin (kubelogin), which a check of every cluster doesn’t start. That doesn’t mean it’s down.
It takes no parameters.
list_kinds
The kinds a cluster serves, custom resources’ too: each one’s name as the other tools take it, its API version, whether it’s namespaced, and its short names. Built-in kinds go by their name, likeDeployment, and custom ones by their name and group, like Rollout.argoproj.io.
list_resources
Objects of a kind, in one namespace or all of them. For each: its name and namespace, its health as Lumovi shows it, with the reason when there is one (CrashLoopBackOff (critical): back-off restarting failed container), its age (45s, 12m, 5h, 3d), and what its kind’s list shows in Lumovi:
It says how many there are (
total), and how many it shows when that’s fewer (shown). Objects in namespaces your permissions hide aren’t there. Listing Secrets across namespaces leaves out those whose namespaces hide Secrets, and says how many: notShown: 3 more, in namespaces whose Secrets the person's AI permissions hide.
get_resource
One object as YAML, with its health on the first line, like# Health: Running (healthy). It leaves out what’s long and says little: its managed fields, the last applied configuration, and any annotation over 1,000 characters, saying how long it was and how to have it. And it leaves out what your permissions hide: a Secret’s values unless they show them, and env values that look sensitive, or all. See What’s hidden.
Only these fields, as dotted paths, like
status, spec.replicas or spec.template.spec.containers.image: a list on the way is followed into each of its items. Its kind, name and namespace come with them, and a path that leads nowhere says (not in this object).get_events
What Kubernetes reported, the latest first: about one object, a namespace, or the whole cluster. Each event says how long ago it last happened, and, where it happened more than once, how many times and when it began; its type and reason, the object it’s about, and its message. A pod’s back-off says how many times the pod has restarted. A warning that a later event says is over (the pod was scheduled, its image pulled after a pull failed, its container created, its volume attached or mounted, its node ready again) is marked resolved, with that event and when. A back-off is never marked resolved. With none, it says “No events.” Events in, or about, a namespace your permissions hide aren’t there.get_logs
A container’s latest log lines, askubectl logs shows them, up to 256 KB of them. It doesn’t follow the log. It can keep only the lines with a text in them, or of a level and above. Where the lines are more than an answer holds, it gives the first and the last, with how many it left out, and to ask again with from and the same tailLines, match and level for them; never an error. A log that has grown since numbers its lines anew. With none, it says “(No log lines.)” Where your permissions say Don’t read, it’s refused: “Lumovi doesn’t let AI assistants read logs in shop: the person’s AI permissions say so (“Shop”).”
The container’s run before its last restart: what a crash-looping container said before it died.
Only lines of this level and above:
debug, info, warn or error, as the log says it (a JSON or logfmt level, or a word at a line’s start). A line that says none goes with the one before it, so a stack’s lines stay with their error. With none left, it says so: “(None of its last 200 lines is error or above.)”find_problems
What’s wrong in a cluster, or in one namespace, in one call. It’s where Lumovi tells assistants to start.problems: the nodes, pods, Deployments, StatefulSets, DaemonSets, Jobs and PersistentVolumeClaims whose health is a warning or critical, the critical ones first, each with Lumovi’s reason and its age, up to 100, and then how many more. Nodes only for the whole cluster: they aren’t in a namespace.- For a failing pod, each failing container: how often it has restarted, why it isn’t running now, and how its last run ended (
lastRun: its exit code, reason, message, and when). And that run’s last error lines (lastLines), where your permissions let assistants read logs, or why not. That’s for 10 containers at most; it says how many more it didn’t read, whichget_logswithpreviousreads. Each read is in the audit log, asget_logs’s are. warningsInTheLastHour: the last hour’s warning events, one for each object and reason, the most frequent first, up to 20, with how many times and how long ago.riskyConfig: a Deployment, StatefulSet or DaemonSet that keeps data in volume claims while its image’s tag can move (latest, no tag, or a major version alone) and is pulled whenever a pod starts, with the containers that do, healthy as it may be. A restart can then run a newer version on the same data. So while one is there, it never answers that nothing is wrong.couldNotCheck: the kinds it couldn’t list, and why, like your account not being allowed to.
get_rollout_history
A Deployment’s, StatefulSet’s or DaemonSet’s rollouts, the newest first. For each: when it was made and why (its change cause), whether it’s the one running now, how many of its pods are left, and each container’s image with the digest its pods pulled. Where none of its pods is left, it saysno pod of it is left to say, since an old rollout’s digests went with its pods. Where its pods pulled different digests for one tag, it lists them all: the tag moved between pulls. Where its pods can’t be listed, it gives the images without digests, and says why: digestsUnknown: its pods can’t be listed: …. It shows no env, nor anything else of the pods’ template.
The newest so many, up to 100. Where there are more, it says how many it left out.
find_in_clusters
Where something is, in every cluster at once: objects whose name has a text in it, or with labels, or in a namespace. It looks through namespaces, Deployments, StatefulSets, DaemonSets, CronJobs and Services, or one kind. For each, its kind, name, namespace, health and age, and nothing else. It asks every cluster you may see at once, and gives each 5 seconds. It says which had nothing (nothingIn), which couldn’t be looked in and why (couldNotLook), and which it didn’t ask (notAsked): one you sign in to through a credential plugin, as with list_clusters. Hidden clusters, namespaces, and Secrets where your permissions hide them, aren’t there.
At most this many in each cluster, up to 100. Where there are more, it says so:
More than 20 here: ask for less, or a larger limit.match, labelSelector or namespace.
Changing
These four ask for a change. Each takes a reason, which you read before you answer:Why: one or two sentences, up to 1,000 characters, about what’s wrong and how the change helps. It’s the dialog’s Why.
- Your permissions. Where the change is, in its namespace, a hidden namespace isn’t there, and Changes decides. For one of the cluster’s own objects, every cluster-scoped kind but Namespace, it’s the strictest of the cluster and every namespace: refused if any namespace is hidden, Never, or hides its Secrets, and asking if any asks. With Never, the change is refused, and nothing is tried: “Lumovi doesn’t let AI assistants change monitoring in demo: the person’s AI permissions say so (“Monitoring”). Nothing was changed.” Where Secrets is Hidden, a Secret can’t be changed either.
- A dry run. The API server checks the change, and your access, and says what the object would come to. If it refuses, the assistant is told why: “Restart Deployment cart wouldn’t work: …”. A read-only cluster refuses here.
- Your answer. With Without asking, the change is made at once, unless it’s a deletion, takes fields over from what manages them, or makes something read a Secret it didn’t before where Secrets’ values are hidden: those ask anyway. Otherwise it waits in Lumovi for you, up to five minutes. See Approving changes.
- A check. Once you approve it, Lumovi tries it as a dry run again, and makes it only if it still changes the object as the diff you saw did. A deletion is made only if the object is still the one you saw, by its uid. If not: “Scale Deployment cart to 3 replicas wasn’t made: cart changed after it was shown (…). Nothing was changed: ask again, to show it as it is now.”
- The change. Lumovi makes it with your credentials, and tells the assistant what it did, and the
kubectlcommand that does the same: “Restarted cart, approved in Lumovi. The kubectl command that does the same: …”. If it fails, the assistant is told why: “Restart Deployment cart failed: …”.
apply_manifest
Creates an object, or changes one, from a manifest, askubectl apply --server-side does: the fields the manifest has are set, and the others are left as they are. In Lumovi, it’s Create kind name for an object that isn’t there yet, and Change kind name for one that is.
- One object a call, in YAML or JSON, with its namespace in its
metadata. - Lumovi applies it as the field manager
lumovi, and forces conflicts, as--force-conflictsdoes. Fields the manifest sets become Lumovi’s, even when something else manages them, like a Helm release, Argo CD or an autoscaler. - It tries it without forcing first. When that fails because something else manages fields the manifest sets, the approval dialog says whose and which: “It takes fields over from what manages them (Helm, Argo CD, an autoscaler…), which may change them back: …”. Such a change asks you even where the cluster allows assistants’ changes.
- What’s refused before the dry run: “Apply one object at a time: this has 2.”, “The manifest isn’t valid YAML (line 3, column 5): …”, and “A manifest needs apiVersion, kind and metadata.name.”
scale
Sets how many replicas a workload runs, askubectl scale does: a Deployment, StatefulSet or ReplicaSet, or a custom kind that can be scaled (through its scale subresource), like an Argo Rollout.
- Nothing to change, nothing to approve: “storefront already runs 5 replicas: nothing to change.”
- Kinds that don’t scale say so: “ConfigMaps can’t be scaled.”
restart
Restarts a Deployment’s, StatefulSet’s or DaemonSet’s pods, askubectl rollout restart does: it sets the kubectl.kubernetes.io/restartedAt annotation on its pod template, which the diff shows, and the workload replaces its pods as its rollout does. Other kinds say so: “Only Deployments, StatefulSets and DaemonSets restart; Jobs don’t.”
delete_resource
Deletes an object, askubectl delete does. What it owns goes too, in the background, like a Deployment’s ReplicaSets and their pods. Lumovi marks it as destructive for the assistant (MCP’s destructiveHint).
- It always asks, even where the cluster allows assistants’ changes. The approval dialog’s button reads Approve deletion.
- The cluster’s own objects only where every namespace may change. Deleting a node, a CustomResourceDefinition or a cluster role can reach every namespace, so it’s refused unless no namespace of the cluster is hidden, Never, or hides its Secrets: “CustomResourceDefinition rollouts.argoproj.io is demo’s own: a change to it can reach every namespace, and assistants may not change all of them: the person’s AI permissions say so (“System”). Nothing was changed.”
- The name, where Lumovi’s own Delete asks for it: for a Namespace, Node, PersistentVolume, PersistentVolumeClaim, StorageClass or CustomResourceDefinition, and for any deletion in a production cluster. You type it before you can approve.
- Only the object you saw. The deletion names the object’s uid, so one deleted and made again under the same name meanwhile isn’t deleted.
Waiting
A change waits in Lumovi for your answer up to five minutes, but the call that asks for it doesn’t wait that long:- It waits up to about 50 seconds, under the minute many assistants give a call. Then it returns, not as an error: “Still waiting for the person’s answer in Lumovi: nothing has changed yet. Tell them to look at Lumovi, and call wait_for_change with id ”…” to keep waiting for it.” The change keeps waiting in Lumovi. On a server, the message names the server’s address after “in Lumovi”, like
(https://lumovi.example.com), for the assistant to send you there. - It says how it’s going, to an assistant that asks for progress (MCP’s
progressToken): “Waiting for the person to approve it in Lumovi”, every 10 seconds or so. - Stopping it withdraws the change. Cancel a call that’s waiting, this one or a
wait_for_change, and the change is withdrawn: it leaves Lumovi, and nothing is changed.
wait_for_change
Waits for your answer to a change the assistant asked for, after its call said it’s still waiting, up to about 50 seconds a call, and says what became of it:- Made: what was done, and its command, as the call that asked would have said: “Scaled cart to 3 replicas, approved in Lumovi. The kubectl command that does the same: …”.
- Not made: rejected, with your note; not approved in time; withdrawn; changed after it was shown; or failed, with why.
- Still waiting: the same message as the call that asked, to call it again.
wait_for_change says how it went. Lumovi keeps the answer until a little after the change would have expired. After that, or for an id it doesn’t know: “No change with id ”…” is waiting: it was answered a while ago, or never asked for.”
Cancelling it withdraws the change. Lumovi marks it as read-only for the assistant: it changes nothing itself.
What’s hidden
Lumovi always leaves out what’s long and says little:managedFields.- The
kubectl.kubernetes.io/last-applied-configurationannotation, which repeats the object, and can hold a copy of a Secret’s values.
- A Secret’s values, unless Secrets is Values: each key of its
dataandstringDatais kept, with(hidden by Lumovi)for its value. With Hidden, the Secrets aren’t shown at all. - Env values, wherever an object has containers: those that look sensitive, by a word in their name, like
DB_PASSWORDorapiKey, or a value that carries credentials, like a URL with a password or a token, or a webhook’s address, with Hide sensitive, the default; every one with Hide all. See Env values. - Logs, with Don’t read.
- Whole namespaces and clusters, with Hidden.
Within your permissions
Every tool decides with your permissions as they are when it’s called, so a change to them applies at once, to assistants connected already too.- A hidden namespace isn’t there. Lists and events leave it out, and asking for something in it is answered as the API server would for something missing:
namespaces "kube-system" not found. A hidden cluster isn’t inlist_clusters, and naming one says “There is no cluster called …”. - What they refuse says who decided: “the person’s AI permissions say so”, with the rule’s name when a rule did, or “this server’s administrator says so”, with theirs.
Approving changes
What a change shows you, and how to answer it.
Permissions
What your account needs for each tool.