get_access_info
Check the configured vSphere account and its per-tool privileges to diagnose NoPermission errors or verify access before running write operations.
Instructions
[READ] Which account this server uses, and whether it holds each tool's vSphere privileges.
Use this when a tool fails with NoPermission, or before a write, to check what the configured account may do. Asks vCenter/ESXi 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. A verdict of not_granted_at_root is NOT "no access" — the privilege may be granted on a specific cluster, host or datastore, where the tool then works. undetermined means vCenter did not answer; never read it as granted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | One tool name on this server, e.g. "add_iscsi_target". Omit to summarize every tool. | |
| target | No | Optional vCenter/ESXi target name from config. |