Docs

List documents

Use this for navigation inside a known source family, or when the AI already has an identifier, source URL, language, tag, or title query.

Use when

  • Use this when the AI needs a navigable list rather than full-text search.
  • Each result includes the document ID needed for source retrieval.

list_documents

Browse documents when the source or identifier is already known.

ParameterTypeDescription
sourcestringSource to browse, e.g. "gesetze-im-internet.de".
langsstring[]Languages to browse, e.g. ["de", "en", "fr"].
title_querystringElasticsearch title query scoped to document titles.
source_urlstringExact source URL for resolving a public source URL to a document ID.
tagsstring[]Require all tags, e.g. ["legislation"].
identifiersstring[]Require all source identifiers, e.g. ["stgb"] or ["32016R0679"].
limitnumber= 20Maximum documents to return.
offsetnumber= 0Skip the first N documents for pagination.
ArgumentsJSON
{
  "source": "gesetze-im-internet.de",
  "identifiers": [
    "stgb"
  ],
  "limit": 5
}
Responsetext
Showing 1-1 of 1 documents:

- Strafgesetzbuch
  id: 9f2d0f6a-0000-4000-9000-000000000001
  lang: de
  total_chars: 510000
  identifiers: stgb
  tags: legislation
  source_url: https://www.gesetze-im-internet.de/stgb/
  read_with: read_document document_id="9f2d0f6a-0000-4000-9000-000000000001"