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>
25 lines
944 B
JSON
25 lines
944 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "marqdo://contracts/ToolSpecV1",
|
|
"title": "ToolSpecV1",
|
|
"type": "object",
|
|
"required": ["schema", "schema_version", "id", "version", "description", "input_schema", "effect", "scopes", "timeout_ms", "availability"],
|
|
"properties": {
|
|
"schema": { "const": "ToolSpecV1" },
|
|
"schema_version": { "const": 1 },
|
|
"id": { "type": "string" },
|
|
"version": { "type": "string" },
|
|
"description": { "type": "string" },
|
|
"input_schema": { "type": "object" },
|
|
"output_schema_ref": { "type": ["string", "null"] },
|
|
"effect": { "type": "string" },
|
|
"scopes": { "type": "array" },
|
|
"timeout_ms": { "type": "integer" },
|
|
"max_result_bytes": { "type": ["integer", "null"] },
|
|
"idempotency": { "type": "string" },
|
|
"concurrency_group": { "type": ["string", "null"] },
|
|
"availability": { "type": "string" }
|
|
},
|
|
"additionalProperties": true
|
|
}
|