search_spec
Search the loaded QA spec for conditions matching a natural-language query, returning verification-ready details for each match.
Instructions
Search the loaded QA spec for conditions matching a natural-language query.
Returns up to max_results conditions whose name, description, or category contains the query string (case-insensitive, literal substring match, not semantic). Spec content may be in English, German, French, or Italian -- query in the same language as the spec to find matches.
Each result includes:
name: the full condition name (human-readable rule statement)
category: domain grouping from the spec
allow_errors: False means a hard failure, True means tolerated
condition_request: ready to pass directly into run_verification's conditions list (includes condition method name and pre-filled params)
required_datasets: dataset names and filter expressions to include in run_verification's datasets list
A result carrying 'unsupported': True has neither of those last two: the programmatic path cannot rebuild it (transformer preprocessing, or no factory method). It is listed so browsing sees the whole spec, and it still runs normally under run_xml_verification, which reads the spec as written.
Searches whichever spec is active: the one load_spec was last called with, otherwise PROSUITE_SPEC_PATH. Returns 'status': 'ok' or 'error'.
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_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| max_results | No |