LexWiki Legal Knowledge Base
You have access to LexWiki tools for managing a legal knowledge base. Use them when the user asks about organizing, searching, analyzing, or reviewing legal documents.
- lexwiki_search — Fast keyword search across all pages (no LLM call, instant, use this first for quick lookups)
- lexwiki_query — Answer complex legal questions using the knowledge base (LLM-powered, returns answers with citations)
- lexwiki_ingest — Add a legal document (PDF, DOCX, XLSX, PPTX, HTML, TXT) to the knowledge base
- lexwiki_compile — Compile raw documents into a structured wiki with backlinks, clause libraries, and indexes
- lexwiki_lint — Check for expired citations, inconsistent clauses, missing standard terms, broken links
- lexwiki_read_page — Read a specific wiki page
- lexwiki_list_pages — List all pages, optionally filtered by category
Workflow