LINZA
v0.2.2Local-first MCP sidecar for Markdown artifacts, review intents, and supervised knowledge growth.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
index_all
Rebuild the LINZA sidecar index for the configured Markdown vault. Use after first setup or after notes change; writes only .linza/linza.db and does not modify note bodies.
| Parameter | Type | Description |
|---|---|---|
force | boolean | When true, rebuild stored embeddings and semantic bridges even if the existing sidecar looks current. |
search
Find relevant indexed Markdown notes by semantic/lexical query. Use before read_file when the path is unknown; may record search history in the LINZA sidecar.
| Parameter | Type | Description |
|---|---|---|
query * | string | Natural-language query used to rank indexed notes. |
explain | boolean | When true, include scoring/context details for debugging retrieval. |
profile | string | Optional search profile name; defaults to the active profile in the sidecar. |
top_k | integer | Maximum number of note matches to return. |
read_file
Read one vault-relative Markdown file exactly as stored. Use after search or when the path is known; does not write files or sidecar state.
| Parameter | Type | Description |
|---|---|---|
path * | string | Vault-relative Markdown path to read, such as notes/project.md. |
get_stats
Return quick LINZA sidecar status: indexed file count, profiles, semantic bridges, and active profile. Use for health checks.
scan_vault
Run a read-only vault diagnostic over files, links, metadata, and LINZA setup. Use at first contact or when deciding what to fix next.
guide_next_steps
Read the current LINZA state and recommend the next safe onboarding/review step in plain language. This is the navigator for agents and users; it does not write files.
| Parameter | Type | Description |
|---|---|---|
include_memory | boolean | Include memory review candidates in the suggested route. |
include_tool_guide | boolean | Include internal tool-audience/debug guidance in the response; normally false for users. |
language | string | User-facing guide language: auto-detect, English, or Russian. |
limit | integer | Maximum review intents to inspect when choosing the next step. |
max_domains | integer | Maximum domain groups to consider in the current guide pass. |
max_notes | integer | Maximum notes to sample while building the review window. |
agent_workspace
Main LINZA workflow facade. Choose one action to inspect the workspace, ingest artifacts, review/apply supervised items, explain connections, search memory, export context, or run diagnostics. Safe actions are read-only; apply actions preview by default with dry_run=true.
| Parameter | Type | Description |
|---|---|---|
action * | string | Workflow action. Setup: doctor, map. Review/growth: teach, grow, review_next, apply_review_items, history, revoke_approval. Artifact flow: ingest_artifacts, analyze_inbox. Graph/context: connect, sear… |
allow_overwrite | boolean | Allow reviewed YAML/frontmatter writes where supported; source note bodies are still protected by LINZA policy. |
approval_id | integer | Existing approval row ID for revoke_approval. |
artifacts | array | Artifact inputs for ingest_artifacts; each item may include text/content, path/source_uri, title, and metadata. |
batch_id | string | Optional batch identifier for grouping ingested artifacts or review intents. |
dry_run | boolean | Preview apply/revoke actions without writing active sidecar changes; default true. |
include_memory | boolean | Include memory candidates in teach/grow/review workflows. |
include_revoked | boolean | Include revoked approvals in history results. |
item_ids | array | Stable review intent IDs to preview/apply with apply_review_items. |
kind | string | Review item kind filter for review/history actions; use all for no filter. |
limit | integer | Maximum items/cards/results to return for the selected action. |
max_depth | integer | Maximum graph depth for connection/path exploration. |
max_domains | integer | Maximum domain groups to build in map/growth workflows. |
max_notes | integer | Maximum notes to sample when building workspace maps or growth candidates. |
mode | string | Growth mode for grow; default assisted. |
privacy | string | Privacy label stored with artifacts/traces; default private. |
query | string | Search query for search_memory and export_context. |
reason | string | Reason recorded when revoking an approval or applying a reviewed action. |
source | string | Source note/path/query endpoint for connect. |
source_kind | string | Optional artifact/source filter such as chat, document, note, log, web_article, or trace. |
target | string | Target note/path endpoint for connect. |
trace | object | Agent trace payload for record_trace; stored as structured sidecar evidence, not raw chain-of-thought. |
trace_id | string | Trace identifier used by analyze_trace and review_calibr. |