id
Return user identity information including UID, GID, username, and groups as JSON for identity inspection and access control auditing.
Instructions
Return user identity information: UID, GID, username, and all group memberships as JSON. Read-only, no side effects. Returns JSON with full user identity. Use for comprehensive user identity inspection and access control auditing. Not for quick username check — use 'whoami'. Not for just group listing — use 'groups'. See also 'whoami', 'groups'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Write compact identity text without a JSON envelope. |