Show current user and workspace
whoamiReturn the authenticated user and tenant for the current MCP session.
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 |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| roles | Yes | ||
| scope | Yes | ||
| user_id | Yes | ||
| tenant_id | Yes | ||
| tenant_slug | Yes |