changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": true,
+ "properties": {
+ "data": {
+ "additionalProperties": true,
+ "description": "The created workspace row.",
+ "properties": {
+ "active_agent_targets": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "AI clients this workspace is configured for."
+ },
+ "created_at": {
+ "description": "Creation timestamp in ISO 8601.",
+ "type": "string"
+ },
+ "git_remote_url": {
+ "description": "Stored git remote URL, or null.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "Workspace name as stored.",
+ "type": "string"
+ },
+ "organization_id": {
+ "description": "Organization the workspace was created under.",
+ "type": "string"
+ },
+ "workspace_id": {
+ "description": "UUID of the new workspace. Pass it to pathrule_setup next.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "workspace_id",
+ "name",
+ "organization_id",
+ "git_remote_url",
+ "active_agent_targets",
+ "created_at"
+ ],
+ "type": "object"
+ },
+ "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"
+ },
+ "human_message": {
+ "description": "One-line summary of the result, safe to relay to the user verbatim.",
+ "type": "string"
+ },
+ "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"
+ },
+ "next_step": {
+ "description": "The call to make next, as { tool, arguments }."
+ },
+ "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"
+ }
+ },
+ "required": [
+ "ok"
+ ],
+ "type": "object"
+}