Files
marqdo/tests/workbench/schemas/ToolResultV1.schema.json
cflmyandCursor 303c06f773 feat(workbench): freeze agent protocols and ship ResourceView v1
Lock M-A0 Error/Tool/Checkpoint/Output/Context fixtures with capability bits off, and land M-A3 static md/txt/code ResourceView (no-exec) behind resource.view.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-27 10:59:59 +08:00

24 lines
756 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "marqdo://contracts/ToolResultV1",
"title": "ToolResultV1",
"type": "object",
"required": ["schema", "schema_version", "ok", "status", "summary"],
"properties": {
"schema": { "const": "ToolResultV1" },
"schema_version": { "const": 1 },
"ok": { "type": "boolean" },
"status": { "type": "string" },
"summary": { "type": "string" },
"structured_content": {},
"resources": { "type": "array" },
"citations": { "type": "array" },
"error": {},
"usage": {},
"truncated": { "type": "boolean" },
"next_cursor": { "type": ["string", "null"] },
"effect_receipt_ref": { "type": ["string", "null"] }
},
"additionalProperties": true
}