openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
337 lines (336 loc) • 7.05 kB
JSON
{
"id": "knowledge",
"kind": "memory",
"categories": [
"memory"
],
"name": "Knowledge",
"description": "Evidence-backed knowledge, inspectable in OpenClaw.",
"version": "0.1.0",
"reload": {
"turnHandover": true
},
"configSchema": {
"type": "object",
"properties": {
"operatorRead": {
"type": "boolean"
},
"writesEnabled": {
"type": "boolean"
},
"stores": {
"type": "object",
"patternProperties": {
"^[a-z][a-z0-9-]{0,47}$": {
"type": "object",
"required": [
"agents"
],
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"agents": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9_-]{0,63}$"
},
"maxItems": 100
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"pageBudgets": {
"type": "object",
"properties": {
"hubPercentile": {
"type": "number",
"minimum": 50,
"maximum": 99.9,
"description": "Authored-link degree percentile, within each store partition, at which a page counts as a hub and gets the smaller body budget. Default 90."
}
},
"additionalProperties": false
},
"maintenance": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Run the scheduled maintenance pass over every configured store. Default true."
},
"schedule": {
"type": "string",
"minLength": 9,
"maxLength": 100,
"description": "Five-field cron expression. Default 30 3 * * * (03:30 daily)."
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "IANA time zone for the schedule. Default: the Gateway host's time zone."
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"doctorContract": {
"configRepair": true
},
"activation": {
"onStartup": true
},
"controlUi": {
"entry": "dist/control-ui/6668c9fb067d057ad60a8c306d43dcd0b50e4a80b357e3f2f752874b60448b5f/index.js",
"styles": [
"dist/control-ui/6668c9fb067d057ad60a8c306d43dcd0b50e4a80b357e3f2f752874b60448b5f/index.css"
]
},
"skills": [
"./skills"
],
"contracts": {
"tools": [
"knowledge_annotate",
"knowledge_attach",
"knowledge_attach_file",
"knowledge_attachment",
"knowledge_chronicle_day",
"knowledge_chronicle_last_seen",
"knowledge_chronicle_since",
"knowledge_connections",
"knowledge_correct",
"knowledge_create_claim",
"knowledge_create_relationship",
"knowledge_diagnostics",
"knowledge_edit_body",
"knowledge_evidence_read",
"knowledge_extract_section",
"knowledge_grep",
"knowledge_history",
"knowledge_lookup",
"knowledge_merge",
"knowledge_mutation",
"knowledge_ontology",
"knowledge_publish_batch",
"knowledge_recall",
"knowledge_reconcile_evidence",
"knowledge_record",
"knowledge_records",
"knowledge_relink",
"knowledge_remember",
"knowledge_resume",
"knowledge_revision",
"knowledge_save_page",
"knowledge_source_check",
"knowledge_status",
"knowledge_supersede",
"knowledge_timeline",
"knowledge_unmerge",
"knowledge_verify",
"knowledge_withdraw"
]
},
"toolMetadata": {
"knowledge_annotate": {
"profiles": [
"coding"
]
},
"knowledge_attach": {
"profiles": [
"coding"
]
},
"knowledge_attach_file": {
"profiles": [
"coding"
]
},
"knowledge_attachment": {
"profiles": [
"coding"
]
},
"knowledge_chronicle_day": {
"profiles": [
"coding"
]
},
"knowledge_chronicle_last_seen": {
"profiles": [
"coding"
]
},
"knowledge_chronicle_since": {
"profiles": [
"coding"
]
},
"knowledge_connections": {
"profiles": [
"coding"
]
},
"knowledge_correct": {
"profiles": [
"coding"
]
},
"knowledge_create_claim": {
"profiles": [
"coding"
]
},
"knowledge_create_relationship": {
"profiles": [
"coding"
]
},
"knowledge_diagnostics": {
"profiles": [
"coding"
]
},
"knowledge_edit_body": {
"profiles": [
"coding"
]
},
"knowledge_evidence_read": {
"profiles": [
"coding"
]
},
"knowledge_extract_section": {
"profiles": [
"coding"
]
},
"knowledge_grep": {
"profiles": [
"coding"
]
},
"knowledge_history": {
"profiles": [
"coding"
]
},
"knowledge_lookup": {
"profiles": [
"coding"
]
},
"knowledge_merge": {
"profiles": [
"coding"
]
},
"knowledge_mutation": {
"profiles": [
"coding"
]
},
"knowledge_ontology": {
"profiles": [
"coding"
]
},
"knowledge_publish_batch": {
"profiles": [
"coding"
]
},
"knowledge_recall": {
"profiles": [
"coding"
]
},
"knowledge_reconcile_evidence": {
"profiles": [
"coding"
]
},
"knowledge_record": {
"profiles": [
"coding"
]
},
"knowledge_records": {
"profiles": [
"coding"
]
},
"knowledge_relink": {
"profiles": [
"coding"
]
},
"knowledge_remember": {
"profiles": [
"coding"
]
},
"knowledge_resume": {
"profiles": [
"coding"
]
},
"knowledge_revision": {
"profiles": [
"coding"
]
},
"knowledge_save_page": {
"profiles": [
"coding"
]
},
"knowledge_source_check": {
"profiles": [
"coding"
]
},
"knowledge_status": {
"profiles": [
"coding"
]
},
"knowledge_supersede": {
"profiles": [
"coding"
]
},
"knowledge_timeline": {
"profiles": [
"coding"
]
},
"knowledge_unmerge": {
"profiles": [
"coding"
]
},
"knowledge_verify": {
"profiles": [
"coding"
]
},
"knowledge_withdraw": {
"profiles": [
"coding"
]
}
}
}