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>
27 lines
734 B
JSON
27 lines
734 B
JSON
{
|
|
"schema": "ToolSpecV1",
|
|
"schema_version": 1,
|
|
"id": "workspace.read",
|
|
"version": "1",
|
|
"description": "读取授权资源的指定行范围",
|
|
"input_schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"resource_id": {"type": "string"},
|
|
"revision": {"type": "string"},
|
|
"start_line": {"type": "integer", "minimum": 1},
|
|
"max_lines": {"type": "integer", "minimum": 1, "maximum": 500}
|
|
},
|
|
"required": ["resource_id"],
|
|
"additionalProperties": false
|
|
},
|
|
"output_schema_ref": "ResourceReadV1",
|
|
"effect": "read",
|
|
"scopes": ["workspace:read"],
|
|
"timeout_ms": 10000,
|
|
"max_result_bytes": 65536,
|
|
"idempotency": "safe",
|
|
"concurrency_group": "resource-read",
|
|
"availability": "ready"
|
|
}
|