whoami
Identify the signed-in user and target organization for an allowlisted environment. Provides instructions when the sign-in has expired.
Instructions
Who pac is signed in as and which org it reaches for an allowlisted environment (pac env who).
Fails with instructions if the sign-in expired. environment = URL or id from the allowlist (default: first).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environment | No |