list_concepts
List ontology nodes to grasp a codebase's mental model. Filter by kind, domain, or modification time; paginate through large vaults for incremental sync.
Instructions
List every ontology node in the vault (each .md file with a frontmatter kind:). Filter by kind, domain, and/or since (mtime-based incremental sync). Large vaults are resumable with offset + limit; always follow pagination.nextOffset while hasMore is true. AI agents call this first to grasp the codebase's mental model.
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": "list_concepts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Filter to one canonical ontology kind (project, domain, capability, element, document, vault-readme). Omit to return all. Invalid kind typos fail closed with nearest-value hints instead of returning an empty list. | |
| limit | No | Positive integer max rows to return. Defaults to 100, max 500. | |
| since | No | Non-negative mtime threshold. Filter to nodes with `mtime > since` (ms). Pair with the `mtime` returned in earlier `list_concepts` / `get_concept` responses for incremental sync — "what changed since I last looked". Strict greater-than (mtime === since is excluded) so re-passing the max from a previous response does not double-fetch. | |
| domain | No | Filter to nodes whose frontmatter `domain:` matches this slug (e.g. "auth"). Combine with `kind` for "all capabilities under auth" in one call. Use the domain *slug*, not the title. | |
| offset | No | Zero-based page offset applied after kind/domain/since filters. Resume at pagination.nextOffset until hasMore is false; ordering is deterministic by canonical slug. | |
| summary | No | When true, each node row includes a `summary` (max 200 chars, prose-only — heading / table / code block / image / divider / list / quote are skipped and only the first paragraph is kept, same `extractSummaryExcerpt` helper as `get_concept` / `find_evidence`). Useful for "scan + overview" without N follow-up `get_concept` calls. Default false to keep payload small. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | Yes | ||
| total | Yes | Total number of matching ontology nodes before the limit is applied. | |
| limited | Yes | True when this page does not contain every matching row. | |
| returned | Yes | Number of rows returned in this page. | |
| vaultRoot | Yes | Resolved vault root path used for the listing. | |
| pagination | Yes | ||
| summaryHint | No | Only present when at least one row carries a partial summary — names the follow-up call that returns the full bodies. | |
| vaultWarnings | No |