123 lines
2.8 KiB
YAML
123 lines
2.8 KiB
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {
|
|
"name": "ProjectBrain Brainstorm Save",
|
|
"slug": "projectbrain-brainstorm-save"
|
|
},
|
|
"spec": {
|
|
"canonicalName": "projectbrain.brainstorm.save",
|
|
"version": "1.2.0",
|
|
"connectorType": "projectbrain",
|
|
"description": "Save a reviewable ChatGPT brainstorm in ProjectBrain.",
|
|
"riskClass": "R2",
|
|
"readOnly": false,
|
|
"idempotent": false,
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"required": [
|
|
"project_id",
|
|
"title",
|
|
"prompt",
|
|
"context_summary"
|
|
],
|
|
"properties": {
|
|
"project_id": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"minLength": 3,
|
|
"maxLength": 160
|
|
},
|
|
"prompt": {
|
|
"type": "string",
|
|
"minLength": 3,
|
|
"maxLength": 8000
|
|
},
|
|
"context_summary": {
|
|
"type": "string",
|
|
"minLength": 3,
|
|
"maxLength": 8000
|
|
},
|
|
"ideas": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"score": {
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"maximum": 100
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"title",
|
|
"description"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"maxItems": 50,
|
|
"default": []
|
|
},
|
|
"outcomes": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 2000
|
|
},
|
|
"maxItems": 50,
|
|
"default": []
|
|
},
|
|
"selected_idea_ids": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"maxItems": 50,
|
|
"default": []
|
|
},
|
|
"next_actions": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 1000
|
|
},
|
|
"maxItems": 50,
|
|
"default": []
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"outputSchema": {
|
|
"type": "object"
|
|
},
|
|
"limits": {
|
|
"timeoutMs": 120000,
|
|
"maxOutputBytes": 262144,
|
|
"maxItems": 100
|
|
},
|
|
"redactionProfile": "documents",
|
|
"requiredScopes": [
|
|
"project:{project}:write"
|
|
]
|
|
}
|
|
}
|