Search the concepts
search_conceptsSearches concepts by their words and by meaning, across every tree or some. By words: every word must match a word in the concept's title, description, tags, ID, or body, or the start of one (pol finds policy; fund doesn't find refund); case doesn't matter. By meaning: concepts that mean what the query asks, in other words or in another language, so describe what you need in a phrase or a question ("how we recognize revenue") rather than a single word, which matches by meaning poorly. Filter by types, tags, statuses, or trust tiers: a concept passes a filter with any of its values, and must pass every filter given. An empty query lists every concept that passes the filters. To compare concepts by fields of their own (which vendors cost most, by a Vendor's x-cost), find the type's fields in list_types, then search with types and fields: each match comes with its values, without reading each one. More than 50 match: page through them with 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": {
"query": "<query>"
},
"name": "search_concepts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Only concepts with any of these tags (case-insensitive). | |
| limit | No | Default 10. | |
| query | Yes | What you're looking for, in a phrase or a question (or just words); may be empty when filtering. | |
| trees | No | The trees' slugs, as list_trees gives them (not their names). Only these trees; omit for every tree. | |
| types | No | Only concepts of any of these types (case-insensitive). | |
| fields | No | Frontmatter keys to give with each match, as list_types names a type's fields (`x-cost`). | |
| offset | No | How many of the best matches to skip: the next page. While `offset` plus the results is less than `total`, ask again with `offset` that much higher. | |
| statuses | No | Only concepts with any of these statuses. | |
| trustTiers | No | Only concepts with any of these trust tiers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | This search in OKForest, with every match. | |
| total | Yes | How many concepts match in all, before `limit` and `offset`. | |
| results | Yes | The best matches, best first. | |
| unindexedTrees | Yes | The slugs of trees not indexed yet, which aren't searched: try again in a moment. |