← Back to MCP setup
📋

Summarize document

dbn.summarize

Summarize pasted case text with optional legal-corpus enrichment.

Parameter Type Required Description
text* string Yes The text to summarize.
language string
en | no | uk | pl | auto
Response language: en, no, uk, pl, or auto.
use_legal_corpus boolean Enrich the summary with relevant legal corpus passages (true/false).
use_case_context boolean Include context from your Case Workbench session (true/false).
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/dbn.summarize/invoke

{
  "text": "Paste the case document text here...",
  "language": "en",
  "use_legal_corpus": true,
  "use_case_context": false
}
{
  "ok": true,
  "summary": "The document is a Barnevernet investigation report concerning a family with two children. Key findings include...",
  "key_points": [
    "Home visit conducted 12.03.2024 — no immediate danger found",
    "Tiltaksplan proposed with three support measures",
    "Next review scheduled for 15.06.2024"
  ],
  "credits_used": 5
}

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.