← Back to MCP setup
🔧

Advanced corpus search

translate

Search the DBN legal corpus with a chosen retrieval mode (hybrid, bm25, vector, azure) and optional category filter. The persona (profile) scopes the hybrid mode.

Parameter Type Required Description
query* string Yes
language string
en | no | uk | pl | auto
mode string
hybrid | bm25 | vector | azure
limit integer
category string
profile string Legal persona/profile slug that scopes the corpus and answer style: family, child-welfare, immigration, labour, consumer-tenancy, or general. Defaults to family. Call dbn.list_personas for the live list.

* Purple = required

POST /api/mcp/user/tools/translate/invoke

{}
{"ok":true}

Create your MCP token on the setup page and use it with any supported client.

Set up MCP →
Process-and-forget by default. All tool calls process your text in memory and return results to your AI client. Nothing is saved to My Case unless you explicitly call dbn.save_to_case.

Tools provide legal preparation support, not final legal advice. Results are for informational purposes and should be reviewed by a qualified legal professional.