pm_get_workspace_context
Single-call workspace orientation: members, spaces (with folders, lists, per-list statuses/priorities/taskTypes/customFields), workspace-level taskTypes, relationshipTypes, tags. The biggest agent-onboarding tool — call it first when starting in a new workspace. Pass shallow=true to skip per-list statuses/priorities for a faster tree-only response. Each per-list custom field carries an isMandatory flag — fields with isMandatory=true MUST be supplied in customFields when creating/updating a task in that list, or the write is rejected with 400 VALIDATION_ERROR. API-key scope: workspaces:read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space | No | Narrow to one space by name (exact match) | |
| account | No | Multi-account auth only: name of the account from X-Dutify-Accounts to use for this call. Ignored in single-account mode (X-API-Key header). When multiple accounts are configured and this is omitted, the call fails with ACCOUNT_REQUIRED listing the available names. list_accounts never requires a selection. | |
| shallow | No | Skip per-list statuses/priorities (faster) | |
| workspace | No | Workspace identifier or exact name for this call. Overrides the configured workspace. For personal keys, discover candidates with list_workspaces and select explicitly. Does not change other calls or expand a workspace key's access. | |
| includeTags | No | Default true | |
| includeTaskTypes | No | Default true | |
| includeCustomFields | No | Default true | |
| includeRelationshipTypes | No | Default true |