Get connected workspace and access context
get_contextRead workspace identity or discover capabilities before an unfamiliar action or access diagnosis. view=identity returns tenantId/scopes and the current profile without catalog reads; do not supply names/domain/detail. view=discovery includes a timestamped capabilityCatalog and accepts those filters. view=roles returns minimal paged roleDirectory keys/titles through native Work read authority, without profile or catalog.
Without view or filters, Business defaults to discovery; other toolsets retain tenantId/scopes only. Any legacy catalog filter still requests their combined snapshot. profile.id is a workspace-bound opaque ID, not a native user ID.
names and domain intersect; names=[] retains context/profile with no capabilities. Business spans catalog domains: get_policy uses domain=policy.
Catalog availability gives missingScopes and access.nextAction after current access checks. Filtered emptiness does not prove absence; full detail never expands callability. Invalid authentication fails without tenant fallback; actions recheck authority. FULL also retains get_profile for legacy callers.
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 |