get_access_info
Check which vCenter account this server uses and whether it holds each tool's vSphere privileges; run before writes or after permission errors.
Instructions
[READ] Which account this server uses, and whether it holds each tool's vSphere privileges.
Use this when a tool fails with a permission error, or before a write, to check what the configured account may do. Asks vCenter about the current session (needs only System.View, so any account can ask about itself). Returns target, account, the privilege states, and for one tool its requires/verdict/meaning; without tool, every tool grouped by verdict. Gotchas: privileges are checked on the root folder only, and a verdict of not_granted_at_root is NOT "no access" — it may be granted on a specific cluster. undetermined means vCenter did not answer; never read it as granted. Kubernetes calls (TKC, VM Service, kubeconfigs) are authorized by the namespace's view/edit/owner permission, which this cannot check, so those tools report undetermined. Namespace writes need Namespaces.Configure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | One tool name on this server, e.g. "create_namespace". Omit to summarize every tool. | |
| target | No | vCenter in config.yaml; omit for the default. |