Derived Knowledge
manage_knowledgeBuild, check, and query a semantic index or typed knowledge graph derived from Novel sources without mutating the authoritative Novel file.
Instructions
Manage derived, in-memory knowledge over Novel sources: a semantic index for advisory text ranking and a typed knowledge graph. index_build and graph_build overwrite the prior in-memory projection and are audited; the Novel file stays authoritative and read-only actions never mutate Novel state. Use when: building or rebuilding the index (index_build) or the graph (graph_build); checking staleness (index_status/graph_status); listing indexed items (index_list); ranking candidates against a query (index_search); reading index relations (index_relations); reading the whole graph (graph_get), its nodes or edges (graph_nodes/graph_edges), or a node's neighbors (graph_neighbors). Do NOT use when: searching a bound ruleset's index — use manage_ruleset (action: search); recording knowledge — use manage_lore or manage_corpus; recording a relationship — use manage_relationship.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum candidates to return (index_search; default 5). | |
| query | No | Query text to rank candidates against (index_search). | |
| action | Yes | index_* actions operate the semantic index; graph_* actions operate the knowledge graph. | |
| item_id | No | Indexed item id to filter relations (index_relations). | |
| node_id | No | Graph node id (graph_neighbors). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Human-readable text envelope mirroring the structured result (REQ-001, REQ-548a). | |
| status | Yes | Machine-readable result status: OK, NEED_INPUT, WARNING, PARTIAL, or an error category (REQ-002, REQ-548c). |