← Back to MCP setup
📖

Get document chunks

translate

Fetch a document and its text chunks by numeric document ID.

Parameter Type Required Description
document_id* integer Yes

* Purple = required

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

{
  "document_id": 42
}
{
  "ok": true,
  "document": {
    "id": 42,
    "title": "BVL §4-12 — Vedtak om omsorgsovertakelse",
    "category": "statute",
    "chunks": [
      { "chunk_id": 1, "text": "§ 4-12. Vedtak om å overta omsorgen for et barn kan treffes dersom..." },
      { "chunk_id": 2, "text": "(a) det er alvorlige mangler ved den daglige omsorg som barnet får..." }
    ]
  }
}

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.