Show who this token acts as
colliedesk_whoamiShow the workspace and the team member this token acts as with their roles, how the token got its permissions (a role it follows, or a list picked when it was made), the permissions this call has now, whether the workspace is locked, which article editor the member chose, and which tools those permissions can use. Call it first, and again when a tool is refused with permission_missing.
Needs: nothing beyond a valid token.
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": "colliedesk_whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | ||
| token | Yes | null for a person's own sign-in. | |
| kb_editor | Yes | The article editor the team member chose (colliedesk_my_kb_editor_set); null until they choose, and the visual editor opens. | |
| workspace | Yes | ||
| permissions | Yes | What this call may do now (resource:action). | |
| workspace_locked | Yes | ||
| tools_you_can_use | Yes | ||
| permissions_meaning | Yes |