Check the connection
whoamiWho this connection is (an API key, or a person signed in) and the workspaces it can act in, with the role in each. With a workspace to act in (the key's own, the only one, or the one workspace_id names) it also returns that workspace and the member it acts as. A quick check that the connection works.
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 |
|---|---|---|---|
| workspace_id | No | The workspace this call acts in: an id from list_my_workspaces. Required for a person signed in with several workspaces and for staff of this deployment; optional with an API key or with only one workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The API key this call used, or null for a person signed in through OAuth. | |
| staff | Yes | True when the person signed in is staff of this deployment: they can act in any workspace, their calls carry workspace_id, and the workspace is confirmed with the user ahead of the first read or change in it. | |
| member | Yes | ||
| person | Yes | The person signed in through OAuth, or null for an API key. | |
| next_step | Yes | The suggested next step. | |
| workspace | Yes | The workspace this call acts in. Null when you signed in with several workspaces (or none) and named none. | |
| workspaces | Yes | The API key's own workspace, or each one where the person is an active member. Staff can also act in any other workspace: they find it with list_my_workspaces(search). |