az agent tool env
Inspect the current CLI environment for external AI-tool integration.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az agent tool env show |
Return a JSON snapshot of the current CLI environment (azclips version, auth context, subscription, tenant, shell, working directory). |
Core | Preview |
az agent tool env show
Return a JSON snapshot of the current CLI environment (azclips version, auth context, subscription, tenant, shell, working directory).
az agent tool env show returns the same environment snapshot the internal agent gathers before proposing a plan. Fields include azclips version, OS, active subscription and tenant IDs, current working directory, and shell. Intended for external AI tools (Copilot CLI skills, Claude Code) that need to reason about the user's Azure context without spawning a full agent conversation.
az agent tool env show
Examples
Capture the current environment
az agent tool env show
Global Parameters
Increase logging verbosity to show all debug logs.
Show help for the command or group and exit.
Bypass the extension discovery cache and reload extensions from disk.
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, table, tsv, yaml, yamlc |
JMESPath query string to filter/project the command result before rendering.