Knowledge Map
pathrule_knowledge_mapRead-only map of this workspace's memories, rules and skills, grouped into regions by links and meaning. view=atlas: the whole system in under 1k tokens. view=region: one region's items, relations and issues, paged (purpose=audit adds a checklist). view=related: what else to read or update with given item_ids, titles, files or a query. Use before a quality pass, before updating knowledge, or to see how things relate. No confirmation needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Region page (view=region). | |
| view | Yes | atlas: all regions; region: one region's page; related: neighbours of the given seeds. | |
| files | No | Workspace-relative file paths (view=related). | |
| limit | No | Max related entries (default 8). | |
| query | No | Free-text query to start from (view=related). | |
| titles | No | Titles or names to start from (view=related). | |
| purpose | No | audit appends the audit checklist to region pages. | |
| item_ids | No | Memory, rule or skill ids to start from (view=related). | |
| region_id | No | Region (rg_) or sub-region (sr_) id from the atlas (view=region). | |
| workspace_id | Yes | Workspace UUID from pathrule_list_workspaces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true when the call succeeded. false when it did not, in which case `error` carries the reason and the success fields are absent. | |
| page | No | The page rendered (view=region). | |
| text | No | The rendered view. | |
| view | No | The view that was rendered. | |
| error | No | Present only when ok is false. | |
| pages | No | Pages in the region (view=region). | |
| status | No | ready, computing (call again after retry_after_ms) or unavailable. | |
| related | No | Related entries with ids, reasons and scores (view=related). | |
| semantic | No | Where memory similarity came from. | |
| algorithm | No | Map algorithm version; region ids are stable within it. | |
| region_id | No | The region rendered (view=region). | |
| retry_after_ms | No | When status is computing, how long to wait before calling again. |