Manage Knowledge
manage_knowledgeInitialise or maintain the knowledge corpus: manifest, domains, indexes, verification and template audits. Use write_knowledge to author record content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Domain name — required for add_domain / remove_domain. | |
| action | Yes | describe: read manifest · ages: per-record days since verified_at — a pure date delta, no threshold or verdict; apply your own cadence on top · refresh_index: rebuild knowledge-index · refresh_manual_index: rebuild manual-index · add_domain / remove_domain: manage declared domains · verify: batch-refresh verified_at on record_ids · audit_templates: check records against their category's template; emits a signal per finding (deduped) and returns them. · initialise: idempotently initialize the corpus; accepts only container_id. | |
| category | No | Category filter — optional for audit_templates and ages (e.g. "manual" to scope to manual records). | |
| contract | No | Help mode — return the complete contract with no operation performed. | |
| record_ids | No | Array of record UUIDs — required for verify. | |
| description | No | Domain description — optional for add_domain. | |
| container_id | Yes | Container ID — required. Scopes all operations. | |
| include_drafts | No | Include draft records — optional for audit_templates (default false: live records only). | |
| include_superseded | No | Include superseded records — optional for audit_templates (default false: current records only; superseded ids retired by a newer record are excluded). |