query_concepts
Filter FOLIO legal concepts by label, definition, branch, hierarchy, or country to retrieve precise, unranked result sets for targeted research.
Instructions
Filter FOLIO concepts by exact field matches and structure (not ranked).
Use this for precise filters, e.g. every area of law whose label contains "tax", or concepts whose definition mentions "fiduciary". For "find the concept called X", search_concepts ranks better. All filters are ANDed; give at least one.
Text filters: label: Match the primary label. definition: Match the definition text. alt_label: Match alternative labels / synonyms. example: Match examples. any_text: Match any text field (label, definition, synonyms, examples, notes).
Structural filters: branch: Branch name from list_branches(), e.g. "areas_of_law" (also accepts "AREA_OF_LAW"). parent_iri: Only descendants of this concept (IRI, short ID or branch name). has_children: True = non-leaf concepts only, False = leaf concepts only. deprecated: Include deprecated concepts (default False). country: Match the country field.
Control: match_mode: "substring" (default, case-insensitive), "exact", "regex", or "fuzzy". limit: Maximum results (default 20, max 100).
Returns: JSON array of {iri, label, definition}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "query_concepts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| limit | No | ||
| branch | No | ||
| country | No | ||
| example | No | ||
| any_text | No | ||
| alt_label | No | ||
| definition | No | ||
| deprecated | No | ||
| match_mode | No | substring | |
| parent_iri | No | ||
| has_children | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |