Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.stratta.ch/llms.txt

Use this file to discover all available pages before exploring further.

These tools let Claude add a norm you’re licensed for to your workspace. They’re driven by the ingest-norm skill — you don’t call them by hand. Every call is authenticated by your API key and scoped server-side to your organization. All ids are returned as strings.
Only ingest norms your organization holds a valid licence for. See the Terms.
The typical order: ingest_statusingest_create_documentingest_create_sections → enrich (ingest_attach_*, ingest_upload_figure) → ingest_normalize_cross_refsingest_publish.

ingest_status

Checks whether a norm (by code) already exists in your workspace and how many sections it has. Call before creating to avoid duplicates.
code
string
required
Norm code, e.g. "SIA 261".
result
object
Existence status and section count for the code in your workspace.

ingest_create_document

Creates a draft norm document in your workspace. Returns the documentId used by every subsequent ingest_* call.
code
string
required
Norm code, e.g. "SIA 261".
year
number
required
Publication year.
title
string
required
Full title of the norm.
language
string
required
One of "fr", "de", "it", "en".
totalPages
number
required
Total page count of the source PDF.
documentId
string
The new document’s id.

ingest_create_sections

Bulk-inserts sections into a draft document. Parent links resolve via parentNodeId within the batch and already-inserted sections. Returns a map from nodeId to the stored sectionId — use those ids to attach formulas, tables, figures, and cross-references.
documentId
string
required
The id from ingest_create_document.
sections
array
required
Array of section objects. Each section has:
sections
object
A map of nodeIdsectionId.

ingest_attach_formula

Attaches a LaTeX formula to a section.
sectionId
string
required
Target section id.
latex
string
required
The formula in LaTeX.
description
string
required
What the formula computes.
formulaNumber
string
required
The formula’s number/label as printed.
formulaId
string
The new formula’s id.

ingest_attach_table

Attaches a structured table to a section.
sectionId
string
required
Target section id.
data
object
required
{ headers: string[], rows: string[][] }.
caption
string
required
Table caption.
tableNumber
string
required
The table’s number/label.
tableId
string
The new table’s id.

ingest_attach_cross_ref

Attaches a cross-reference from a section to another norm or section.
sourceSectionId
string
required
The section the reference is from.
targetDocumentCode
string
required
Target norm code, e.g. "SIA 263".
targetSectionPath
string
Optional target section path in the other norm.
refText
string
required
The reference text as written.
refType
string
required
Either "explicit" or "implicit".
crossRefId
string
The new cross-reference’s id.

ingest_upload_figure

Uploads a figure image (base64) and attaches it to a section, in one call.
sectionId
string
required
Target section id.
base64
string
required
Base64-encoded image bytes (a data: prefix is tolerated).
mimeType
string
required
One of "image/png", "image/jpeg", "image/webp". Max 8 MB.
caption
string
required
Figure caption.
figureNumber
string
required
The figure’s number/label.
figureId
string
The new figure’s id.

ingest_normalize_cross_refs

Scans every section of a document and (re)builds cross-references to other norms detected in the text (SIA, SN EN, EN, ISO, DIN…). Idempotent — safe to run repeatedly.
documentId
string
required
The document to scan.
result
object
A summary of the cross-references found and rebuilt.

ingest_publish

Publishes a draft document so it becomes queryable via the read tools in your workspace.
documentId
string
required
The document to publish.
published
boolean
true on success.

ingest_delete

Deletes a document and all its sections, figures, tables, formulas, and cross-references. Use before re-ingesting.
documentId
string
required
The document to delete.
deleted
boolean
true on success.
Deletion is permanent and removes all child content. Make sure you target the right documentId.

Ingest a norm (guide)

The end-to-end workflow these tools serve.

Read tools

Query the norms once published.