knowledge_admin
Set up, maintain, and diagnose project workspaces for AI agents. Handle initialization, linting, migration, and usage audits to keep documentation reliable.
Instructions
Workspace setup, maintenance and diagnostics.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "knowledge_admin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | lint: repair nested wiki. | |
| paths | No | ||
| scope | No | ||
| action | Yes | init=bootstrap;checkpoint=rebuild;usage=stats/audit/reset;semantic_setup=models;consolidate=review;client_setup=hooks;lint=broken links/orphan pages;migrate=upgrade. | |
| backup | No | ||
| run_id | No | ||
| clients | No | ||
| dry_run | No | lint: false applies repair. | |
| options | No | usage: action=status|audit|reset|outcome; audit accepts days(1..30), max_turns(1..100), client(codex|claude); outcome requires outcome=succeeded|failed. semantic_setup:{model};consolidate:{days,proposals}. | |
| setup_mode | No | preview | |
| integrity_mode | No | metadata | |
| target_version | No | 4 | |
| include_missing | No | ||
| include_orphans | No | ||
| migration_action | No | plan | |
| include_broken_links | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| guidance | No | ||
| nextAction | Yes | ||
| resultText | No |