Whoami
whoamiWho you are and the workspace this connection acts in by default: user id, the default workspace's id (use it as workspace_id), its vhost/key/name, your role there, any folder limit, and the granted OAuth scopes. Resolved live from your membership.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"context": "<context>"
},
"name": "whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roles | Yes | ||
| vhost | Yes | ||
| scopes | Yes | ||
| userId | Yes | ||
| clientId | Yes | ||
| folderId | Yes | ||
| workspace | Yes | ||
| workspaceId | Yes | ||
| workspaceName | Yes | ||
| organizationName | Yes |