Get connected workspace and access context
get_contextStart here for workspace identity and access: view=identity returns tenantId/scopes/profile without a catalog, while view=discovery adds a timestamped capabilityCatalog. Use list_capabilities only for catalog-only inspection, or get_profile only for a profile-only reread; do not call all three for the same question. Provider connection IDs come from their service setup tool, not this context.
names and domain intersect within this fixed connection; names=[] selects none. detail=summary lists names/access; full adds descriptions/schemas. Empty filtered results do not prove absence, and discovery never makes undisclosed tools callable. Without view/filters, Business defaults to discovery; other profiles return tenantId/scopes only. Legacy catalog filters select combined discovery.
view=roles instead returns minimal live role keys/titles, requires existing work:read and Workspace authority, and accepts no catalog filters. Follow nextRoleKey as afterRoleKey while hasMore; position discovery grants no allocation authority. profile.id is opaque and workspace-bound. missingScopes/access.nextAction explain unmet prerequisites; every later action rechecks authority. No sign-in, tenant switch, permission grant or business mutation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | identity reads this workspace's current profile without loading a capability catalog; omit all catalog filters. discovery returns profile and catalog with the supplied filters. roles lists existing role keys/titles with current work:read and Workspace read authority; it returns neither profile nor catalog. Omit for Business discovery or the other profiles' legacy default. | |
| limit | No | roles only: page size, 1–100; omitted means 50. | |
| names | No | Exact capability names to inspect. Unknown or out-of-profile names add no capabilities. Omit for all matching tools; an empty array selects none. | |
| detail | No | summary (default) omits descriptions and schemas; full includes them, without making undisclosed tools callable. | |
| domain | No | Filter by catalog domain within this connection's published toolset; never changes workspace or expands access. Omit to include matching tools from all domains in this surface. | |
| afterRoleKey | No | roles only: copy roleDirectory.pagination.nextRoleKey. Seek strictly after that existing workspace position; pages are live, not a frozen snapshot. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | Yes | ||
| profile | No | ||
| tenantId | Yes | ||
| roleDirectory | No | Existing Work positions only. Keys/titles grant no allocation or management authority; no holders or policy contents are returned. | |
| capabilityCatalog | No |