Search documentation

Search documentation

Read tools

The 10 tools your agent uses to navigate and read norms in your workspace.

These tools let your agent query the norms in your workspace. You don't call them by hand. Your agent does, in response to your questions. Knowing them helps you understand and verify answers. Each returns JSON (except get_figure, which also returns an inline image).

get_methodology is the mandatory first call. The others follow the navigation flow: list_norms → get_toc → get_subtree → get_section. Use search_corpus, search_in_norm, get_cross_refs, verify_citation and get_figure as needed.


When your workspace holds several editions of one code (say SIA 261:2014 and SIA 261:2020), every read tool accepts an optional edition and serves the most recent published one by default; list_norms lists the editions of each code, and get_section prints the edition read in its header so the agent files it as normEdition on the entry.

get_methodology

Mandatory first call when answering any technical question. Returns the working method as one Markdown document, built for your workspace: the role, the table of the norms you can read (code, edition, title, scope, coverage) with the dependencies that exist among them, the navigation method, the answer contract (citations, calculations, what to check before answering), the budget rules, the demonstration-document rule when it applies, and the dossier policy. Your agent adopts it for the rest of the conversation. No parameter.

versionnumber

The contract version (2). Recorded on every dossier entry written under it.

textstring

The document, ending with methodology: v2.


list_norms

Lists the norms available in your workspace. A large corpus is listed in part: pass query to find a given norm.

querystring

A code or words of the title or scope, accents optional, e.g. "SIA 267" or "géotechnique". Every word must match. The norm whose code matches comes first, before the norms that cite it. With a query, each norm carries its scope.

limitnumberdefault: 60

Number of norms listed, 1 to 500.

totalnumber

Number of norms the workspace can read.

matchednumber

Number of norms matching the query (equals total without one).

normsarray

Each entry has code, year, title, edition, language and coverage, plus editions when several are readable.

truncatedboolean

Present when not every matching norm is listed; hint says how to narrow.

What norms are available in Stratta?

get_toc

Returns the table of contents for a norm. By default only top-level chapters (depth = 1) are returned to keep the response light; use get_subtree to drill into a chapter.

codestringrequired

Norm code, e.g. "SIA 261", "SIA 263", "EN 1992-1-1".

maxDepthnumberdefault: 1

Maximum nesting depth. 1 = chapters only, 2 = sections X.Y, 3 = sub-subsections X.Y.Z. Higher depths grow the response quickly on large norms.

treearray

Hierarchical nodes, each with path, title, summary, pageStart, pageEnd, depth, and children (empty at the depth boundary). path is the address every other read tool takes. summary is the node's own summary: it is written for chapters and X.Y sections, and left empty below rather than repeating the parent's.


get_subtree

Drills into a specific chapter or section. Returns the subtree rooted at path, so your agent can explore one chapter in detail without fetching the whole table of contents.

codestringrequired

Norm code, e.g. "SIA 261-1".

pathstringrequired

Section path to root the subtree at, e.g. "14" or "14.2".

maxDepthnumberdefault: unlimited

Max nesting depth relative to the root. 1 returns the root plus its direct children only.

maxNodesnumberdefault: 400

Cap on the nodes returned (20 to 2000). A larger subtree loses its deepest levels first and carries truncated: true on its root.

treearray

The subtree rooted at path, with the same node shape as get_toc. A clause number below the last heading (9.5.2.1) resolves to that heading.


get_section

Returns one section as a Markdown document: its text with the LaTeX formulas and tables where the norm prints them, its figures, the cross-references it carries and the sections below it, with the exact path and page range. The navigation fields travel alongside as structured content.

codestringrequired

Norm code, e.g. "SIA 261".

pathstringrequired

Section path as it appears in the document, e.g. "4.2.1" or "Annexe A". A clause number that is not a node of the tree resolves to its nearest heading, and the response says so in requestedPath.

maxCharsnumberdefault: 12000

Characters of text per call (500 to 40000). A longer section comes in windows cut at a paragraph boundary.

offsetnumberdefault: 0

Where to resume in the text, from the nextOffset of a truncated call.

sectionobject

markdown (the document: text, formulas and tables in place, figures with their id, references, sections below, and the copy's licence under the heading), then the fields a client reads without parsing the Markdown: path, title, edition, pageStart/pageEnd, parentPath, requestedPath, figures (id and number, for get_figure), truncated with nextOffset and totalChars. Since 1.20.0 the clause is sent once: no raw text, tables or formulas as JSON alongside.

Every technical claim your agent makes must cite a section it fetched via get_section (e.g. [SIA 261, 4.2.1, p. 22]), never from memory.


search_in_norm

Searches sections within a norm by keyword, matching both titles and content. Use it when the section path isn't known yet. Case, accents and stop words (« de », « la », « und »…) are ignored: "classe de sol" looks for « classe » and « sol ». Sections carrying every term rank ahead of partial matches, and kind: "title" means every term is in the heading.

codestringrequired

Norm code, e.g. "SIA 261".

keywordstringrequired

Search term, e.g. "charges variables" or "béton armé".

limitnumberdefault: 20

Maximum number of results to return.

hitsarray

Up to limit matches, each with path, title, a snippet of the matching content, kind (title, text or path) and licence when the norm carries its licence marks.


search_corpus

Runs the same search across every norm your workspace can read, ranked across the whole corpus, then grouped by norm in the order of each norm's best hit. Use it first when a question does not name its norm: it tells which norms speak of the subject before any table of contents is opened. Accents and case are ignored, and a clause number as keyword resolves to that clause in each norm.

keywordstringrequired

Search terms in the language of the norms, e.g. "charge de neige".

limitnumberdefault: 20

Maximum number of hits across all norms (1 to 40).

normsarray

One entry per norm with hits: code, title, licence (once for its excerpts) and hits[] in the same shape as search_in_norm, each with kind (title, text or path).


get_figure

Retrieves a figure (image) referenced in a section. Returns the image inline (base64) so your agent can reason about the diagram, with its caption and the norm's licence. No storage URL is returned: the bytes are fetched server-side and the image never leaves the conversation as a link anyone could follow.

codestringrequired

Norm code, e.g. "SIA 261".

figureIdstringrequired

Figure id from a get_section response (figures[].id).

imageImageContent

The inline image (base64 + mimeType).

captionstring

The figure caption.

figureNumberstring

The figure's number/label.

Some clients (e.g. Claude Desktop) don't render remote images inline. See Troubleshooting.


get_cross_refs

Lists the references a section makes: to other clauses, annexes, figures and tables of the same norm, and to other norms (e.g. SIA 261 §4.2 to SIA 263). For compound questions, your agent must follow these and read each target with get_section.

codestringrequired

Norm code, e.g. "SIA 261".

pathstringrequired

Section path, e.g. "4.2.1".

crossRefsarray

Outgoing references, resolvable ones first. Each carries the target norm, the section path when one is known, targetKind (clause, annex, figure, table or norm), internal, resolvable (the target exists in your workspace) and targetTitle when it does.


verify_citation

Checks a sentence before your agent quotes it: is it printed in the clause, word for word? Case, accents and line breaks do not count; a changed number does. When the sentence is there, the tool returns it as the norm prints it, with the citation to write after it. When it is not, it returns the closest sentence of the clause, so the agent quotes that one instead.

codestringrequired

Norm code, e.g. "SIA 261".

pathstringrequired

Section path, e.g. "4.2.1".

quotestringrequired

The sentence as it will be quoted, at least 8 characters.

verifiedboolean

true when the sentence is printed in the clause.

passagestring

The sentence as the norm prints it, or the closest one when verified is false. Empty when no sentence of the clause comes close.

citationstring

The citation to write, e.g. [SIA 261 § 4.2.1, p. 34]. found is false and citation is null when the clause is not in your workspace.


Shown to you, not read by the agent

Two tools exist on the remote connector only, for agents that draw an interface (ChatGPT, and any client that supports MCP Apps) or tell several connected accounts apart. The local server does not list them.

show_citations

Called once, after an answer, with the clauses the answer rests on. Each clause becomes a card: norm, clause, pages, and the quoted sentence, checked word for word against the clause before it is shown. On each card: Copy with its reference puts the excerpt, and its citation on your clipboard; Keep in the dossier files the clause as a reference in the project the conversation works in; a link opens the clause in the Stratta reader. The agent itself only reads what it must correct: a clause that does not exist in your workspace, or a quote that is not in the clause it names.

citationsarrayrequired

One to eight clauses: code and path as get_section took them, edition when the norm has several, and optionally quote, the exact sentence quoted.

dossierIdstring

The dossier the conversation works in. With it, each card offers to keep its clause there; questionId files it under one question.

citationsarray

One card per clause: found, title, pageStart, pageEnd, edition, excerpt (the quote as the norm prints it, or the opening of the clause), quoteFound (null when no quote was given), href and licence. The card does not print the licence: it is returned to the agent.

get_profile

Returns a stable opaque id and the organization the connection reads from, nothing personal. ChatGPT uses it to tell two connected accounts apart, for example your organization and a client's workspace. Free, like whoami.