20 lines
948 B
YAML
20 lines
948 B
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {"name": "ProjectBrain Auto Work Claim", "slug": "projectbrain-autonomy-work-claim"},
|
|
"spec": {
|
|
"canonicalName": "projectbrain.autonomy.work.claim",
|
|
"version": "1.1.0",
|
|
"connectorType": "projectbrain",
|
|
"description": "Claim or resume exactly one expiring durable Auto Mode work lease for one executor run.",
|
|
"riskClass": "R2",
|
|
"readOnly": false,
|
|
"idempotent": true,
|
|
"inputSchema": {"type": "object", "required": ["project_id", "run_id"], "properties": {"project_id": {"type": "string", "minLength": 1, "maxLength": 240}, "run_id": {"type": "string", "minLength": 1, "maxLength": 160}}, "additionalProperties": false},
|
|
"outputSchema": {"type": "object"},
|
|
"limits": {"timeoutMs": 30000, "maxOutputBytes": 524288, "maxItems": 1},
|
|
"redactionProfile": "documents",
|
|
"requiredScopes": ["project:{project}:write"]
|
|
}
|
|
}
|