id
Retrieve user identity including UID, GID, username, and group memberships as JSON. Useful for access control auditing and comprehensive user inspection.
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. |