auth_whoami
Display the current org, API key scopes, and acting user, plus the workspace credential source and local EOA signing keys, to verify your auth context.
Instructions
Show the current org, the API key name and scopes, and the user the key acts as. user.kind is AGENT when the key belongs to an agent. Also reports the workspace the credentials came from (null when SPLITS_API_KEY is set), whether they came from the environment or the local keystore, and the local EOA signing keys saved by browser login, splits auth create-key, or import-key. For each local key registered with the backend, localKeys[].signerId is the id needed by accounts update-signers --add-eoa-signer-ids. This registration id differs from the account-specific id in accounts signers, which is used for removals. A null id means the key is unregistered or the signer lookup failed; check auth signers before registering it again. Also updates the org id and name saved for the workspace, which auth workspaces shows.
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": "auth_whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Workspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace. |