Raw schema
{
"type": "object",
"properties": {
"task": {
"type": "string",
"maxLength": 20000,
"description": "The task. Hashed (sha256) and never stored or echoed."
},
"task_sha256": {
"type": "string",
"pattern": "^[0-9a-fA-F]{64}$",
"description": "Alternative to task: its sha256."
},
"data_class": {
"type": "string",
"enum": [
"public",
"internal",
"confidential",
"pii"
],
"description": "Default public. A non-public class is routed only to candidates that declare it in data_class_allowed."
},
"needs_write": {
"type": "boolean"
},
"candidates": {
"type": "array",
"maxItems": 32,
"description": "Omit to route among the GSPC MCP tools. A candidate field the router does not know makes that candidate UNCHECKABLE (never permitted); sponsor/bid/placement fields are ignored.",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"model",
"mcp_tool",
"a2a_agent",
"x402_resource",
"local_gpu"
]
},
"provider": {
"type": "string"
},
"model": {
"type": "string"
},
"region": {
"type": "string"
},
"endpoint": {
"type": "string",
"description": "https://public-host/... or local:<name> for an endpoint you run"
},
"cost_declared": {
"type": "number",
"minimum": 0
},
"latency_declared_ms": {
"type": "number",
"minimum": 0
},
"read_only": {
"type": "boolean"
},
"destructive": {
"type": "boolean"
},
"paid": {
"type": "boolean"
},
"data_class_allowed": {
"type": "array",
"items": {
"type": "string",
"enum": [
"public",
"internal",
"confidential",
"pii"
]
}
}
},
"required": [
"id",
"kind"
]
}
},
"policy": {
"type": "object",
"description": "presets [read-only, local-only, eu-only, no-unmeasured], forbid_providers [..], allow_kinds [..], confirm_destructive, caller_wallet. Unknown keys grant nothing.",
"properties": {
"presets": {
"type": "array",
"items": {
"type": "string"
}
},
"forbid_providers": {
"type": "array",
"items": {
"type": "string"
}
},
"allow_kinds": {
"type": "array",
"items": {
"type": "string"
}
},
"confirm_destructive": {
"type": "boolean"
},
"caller_wallet": {
"type": "boolean"
}
}
},
"objective": {
"type": "object",
"properties": {
"quality_axis": {
"type": "string",
"description": "A board axis id, e.g. governance"
},
"weights": {
"type": "object",
"properties": {
"quality": {
"type": "number"
},
"cost": {
"type": "number"
},
"latency": {
"type": "number"
}
}
},
"tie_break": {
"description": "cheapest_declared, local_first, lexical_id (default in that order)",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
}
},
"mode": {
"type": "string",
"enum": [
"decide",
"execute"
],
"description": "decide (default). execute is not enabled and answers NOT_ENABLED."
}
},
"additionalProperties": false
}