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
| Field | Type | Description |
|---|---|---|
principalrequired | object | |
workspacerequired | object | |
toolsetsrequired | array of one of: core, triage, customers, planning, changelog, admin, audit | Toolsets (OAuth scopes) granted to this caller. |
two_factor_requiredrequired | boolean | True 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({});