changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": true,
+ "properties": {
+ "count": {
+ "description": "Number of workspaces returned.",
+ "type": "number"
+ },
+ "error": {
+ "additionalProperties": true,
+ "description": "Present only when ok is false.",
+ "properties": {
+ "code": {
+ "description": "Stable machine-readable failure code, for example insufficient_scope, workspace_id_required, rate_limited, not_found, or upstream_error. Branch on this, not on message text.",
+ "type": "string"
+ },
+ "detail": {
+ "description": "Optional structured context for the failure, for example { missing_scopes: [...] } on insufficient_scope."
+ },
+ "message": {
+ "description": "Human-readable explanation of the failure.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "local_runtime": {
+ "additionalProperties": true,
+ "description": "Present on tools that carry the local-runtime upgrade reminder.",
+ "properties": {
+ "cta": {
+ "description": "Upgrade line to surface to the user when local Pathrule (Studio or CLI) would serve them better than Remote MCP.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "cta"
+ ],
+ "type": "object"
+ },
+ "note": {
+ "description": "Short guidance line about the returned set.",
+ "type": "string"
+ },
+ "ok": {
+ "description": "true when the call succeeded. false when it did not, in which case `error` carries the reason and the success fields are absent.",
+ "type": "boolean"
+ },
+ "selection_required": {
+ "description": "True when the count is not exactly 1, meaning you should ask the user which workspace to use.",
+ "type": "boolean"
+ },
+ "workspaces": {
+ "description": "Workspaces visible to the authenticated user. Never contains local filesystem paths.",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "archived": {
+ "description": "True when the workspace has been archived.",
+ "type": "boolean"
+ },
+ "archived_at": {
+ "description": "Archive timestamp in ISO 8601, or null.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "frozen": {
+ "description": "True when billing is unpaid or canceled, which blocks subscription-gated tools.",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "Workspace name.",
+ "type": "string"
+ },
+ "organization": {
+ "additionalProperties": true,
+ "description": "Owning organization and its billing status.",
+ "properties": {
+ "id": {
+ "description": "Organization UUID.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Organization name, or null when not readable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "slug": {
+ "description": "Organization slug, or null when not readable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "subscription_status": {
+ "description": "Billing status that decides whether subscription-gated tools will run.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "slug",
+ "subscription_status"
+ ],
+ "type": "object"
+ },
+ "workspace_id": {
+ "description": "Workspace UUID. Pass this to every workspace-scoped tool.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "workspace_id",
+ "name",
+ "organization",
+ "archived",
+ "archived_at",
+ "frozen"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "ok"
+ ],
+ "type": "object"
+}