31 lines
1.3 KiB
YAML
31 lines
1.3 KiB
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {"name": "Knowledge Hub Current Page", "slug": "ingestion-workspace-page"},
|
|
"spec": {
|
|
"canonicalName": "knowledge.workspace.page",
|
|
"connectorToolName": "get_workspace_page",
|
|
"exposedNames": ["get_workspace_page"],
|
|
"version": "1.0.0",
|
|
"connectorType": "ingestion",
|
|
"description": "Read current Markdown, breadcrumbs, revision and ETag in bounded pages. Pass the returned ETag on subsequent offsets and as expected_target_etag for an update proposal; never compare an incomplete page as complete.",
|
|
"riskClass": "R1",
|
|
"readOnly": true,
|
|
"idempotent": true,
|
|
"inputSchema": {
|
|
"type": "object", "additionalProperties": false,
|
|
"properties": {
|
|
"page_id": {"type": "string", "format": "uuid"},
|
|
"offset_chars": {"type": "integer", "minimum": 0, "maximum": 1000000, "default": 0},
|
|
"max_chars": {"type": "integer", "minimum": 1, "maximum": 20000, "default": 20000},
|
|
"expected_etag": {"type": ["string", "null"], "maxLength": 256}
|
|
},
|
|
"required": ["page_id"]
|
|
},
|
|
"outputSchema": {"type": "object"},
|
|
"limits": {"timeoutMs": 30000, "maxOutputBytes": 131072, "maxItems": 1},
|
|
"redactionProfile": "documents",
|
|
"requiredScopes": ["project:{project}:read"]
|
|
}
|
|
}
|