Docs: Tool reference
core toolset

whoami

Show who I am. Returns who you are acting as in this workspace: principal type (member, end user or service account), name, email, member role, the workspace, and the toolsets granted to this connection. Call it first to learn what you can do; other tools fail with a forbidden error when your role or toolsets don't allow them. No side effects.

Toolset
core
Who can call it
OwnersManagersContributorsCustomersAPI keys
REST
GET /api/v1/w/{workspace}/me
Behavior
read-onlyidempotent

Input

No input.

Output

FieldTypeDescription
principalrequiredobject
workspacerequiredobject
toolsetsrequiredarray of one of: core, triage, customers, planning, changelog, admin, auditToolsets (OAuth scopes) granted to this caller.
two_factor_requiredrequiredbooleanTrue when this workspace requires two-factor sign-in and you haven't turned it on: other tools refuse until you do.

Calling it

// MCP: tools/call
{ "name": "whoami", "arguments": {} }

// Typed client
await carechannel.whoami({});