extract_concepts
Tags a passage of text with the FOLIO legal concepts it mentions, returning each concept's IRI, label, and branch for a quick first-pass review of clauses, fact patterns, or briefs.
Instructions
Tag a passage of text with the FOLIO concepts it mentions.
Paste a fact pattern, clause, email, or brief excerpt; returns every FOLIO concept whose label or synonym appears in it (e.g., "tenant", "eviction", "temporary restraining order", "Bankruptcy Court", "EEOC"), with its branch. Dictionary matching, not inference: use it as a fast first pass, then get_concept(iri) or the classification prompts for judgment calls. The first call builds the label index (about 2s).
Args: text: The text to tag (up to 100,000 characters). limit: Maximum concepts to return, in order of first mention (default 50). branch: Optional branch filter, e.g. "areas_of_law", "document_artifacts", "actors_players", "forum_venues" (see list_branches).
Returns: JSON {"count", "concepts": [{iri, label, branch, match_type, matched_text, count, first_offset}]}.
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": {
"text": "<text>"
},
"name": "extract_concepts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| limit | No | ||
| branch | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |