# knowledge_clear

DESTRUCTIVE: Clear all knowledge from the vector store. This removes all ingested documents but does not delete the original files. Set confirm=True to proceed.

Agent View of the PolicyLayer registry record for `knowledge_clear`. HTML page: https://policylayer.com/tools/0xcjt-templonixlite/knowledge-clear

## Facts

- Tool: `knowledge_clear`
- Server: Templonix Lite MCP Server (`0xcjt/templonixlite`) — https://policylayer.com/tools/0xcjt-templonixlite.md
- Homepage: https://github.com/0xCJT/TemplonixLite
- Risk category: Destructive (Critical risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Hidden

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "knowledge_clear",
    "arguments": {}
  }
}
```

## Why knowledge_clear is rated Critical

This tool irreversibly deletes all ingested knowledge documents from the vector store. While original files are preserved, the indexed knowledge is permanently removed and cannot be recovered without re-ingesting. This is a destructive operation with significant blast radius if invoked unintentionally by an AI agent, as it would eliminate all stored knowledge context.

From the tool's own definition: "Tool name is 'knowledge_clear' and description explicitly states 'DESTRUCTIVE: Clear all knowledge from the vector store. This removes all ingested documents' with a confirmation flag required."

Risk signals: Bulk/mass operation — affects multiple targets

## Use case

AI agents call knowledge_clear to permanently remove resources in Templonix Lite MCP Server, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

## Recommended policy (PolicyLayer)

Verdict: **Hidden**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Templonix Lite MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "knowledge_clear"
  ]
}
```

## Other tools on Templonix Lite MCP Server (17)

- `archive_purge` — Destructive — https://policylayer.com/tools/0xcjt-templonixlite/archive-purge.md
- `calendar_delete_event` — Destructive — https://policylayer.com/tools/0xcjt-templonixlite/calendar-delete-event.md
- `diagram_create` — Execute — https://policylayer.com/tools/0xcjt-templonixlite/diagram-create.md
- `archive_search` — Read — https://policylayer.com/tools/0xcjt-templonixlite/archive-search.md
- `archive_search_all` — Read — https://policylayer.com/tools/0xcjt-templonixlite/archive-search-all.md
- `archive_stats` — Read — https://policylayer.com/tools/0xcjt-templonixlite/archive-stats.md
- `calendar_list_events` — Read — https://policylayer.com/tools/0xcjt-templonixlite/calendar-list-events.md
- `jina_search` — Read — https://policylayer.com/tools/0xcjt-templonixlite/jina-search.md
- `knowledge_search` — Read — https://policylayer.com/tools/0xcjt-templonixlite/knowledge-search.md
- `knowledge_stats` — Read — https://policylayer.com/tools/0xcjt-templonixlite/knowledge-stats.md
- `workflow_get` — Read — https://policylayer.com/tools/0xcjt-templonixlite/workflow-get.md
- `workflow_list` — Read — https://policylayer.com/tools/0xcjt-templonixlite/workflow-list.md
- `archive_insert` — Write — https://policylayer.com/tools/0xcjt-templonixlite/archive-insert.md
- `calendar_create_event` — Write — https://policylayer.com/tools/0xcjt-templonixlite/calendar-create-event.md
- `email_save_draft` — Write — https://policylayer.com/tools/0xcjt-templonixlite/email-save-draft.md
- `email_send` — Write — https://policylayer.com/tools/0xcjt-templonixlite/email-send.md
- `knowledge_load` — Write — https://policylayer.com/tools/0xcjt-templonixlite/knowledge-load.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=0xcjt-templonixlite · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/0xcjt-templonixlite
