search_requirements
Search loaded ECSS and NASA requirements and table rows by keywords to find cited requirement IDs, clause matches, and coverage notes for standards questions.
Instructions
Search across loaded requirements (BM25; hybrid with embeddings when the server enables it). Optionally restrict to one document.
query: REQUIRED search words, never empty, e.g. "ultimate factor of safety metallic structure" or "fracture control NASA-STD-5019". A call without search words returns no results.
Returns {"results": [...]} plus, when relevant, "not_loaded", "issue_mismatch", "external_standards",
"coverage", "elsewhere" and "notes". issue_mismatch: the query names an issue or revision letter that is
not loaded (results come from the loaded issue: say which). external_standards: standards of other bodies
named in the query, never held here. coverage "none" (no keyword match) or "weak" (unmatched_terms: an
acronym or designation of the query is in no hit): the hits may not treat the subject.
Without doc_id, standards named in the query (e.g. "NASA-STD-5001B", "ECSS-E-ST-32-01") restrict
the search to them. not_loaded lists named standards that are not loaded: never answer from
them. It is split into in_documents_folder (present in the user's documents folder but not loaded,
with issue and status: say so, and that they can be loaded through corpus.yaml) and
not_in_documents_folder (the user does not have them). elsewhere holds stronger hits from other loaded documents when the named document
matches weakly — it may not cover the topic. Table rows are searched too: a hit found through a
table carries matched_table_row (table citation, row labels, cells) — take the numbers from
there or from get_table, and cite both the requirement and the table. Records and rows carry tier
(verified, checked, unchecked) and page; rows from tables below verified carry check: repeat it
("check against the source, page N") next to any number taken from them. Each hit may carry
neighbours: the records next to it in the same clause (a requirement is often split over sibling
letters). They are full records with citations; read them before concluding a clause is not covered.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_requirements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| doc_id | No |