Skip to content

ollama_corpus_list

List corpora. List named corpora on disk with stats. No Ollama call. Use to discover what’s been indexed, check freshness (indexed_at), or verify a corpus exists before searching.

This tool takes no parameters.

The JSON Schema below is generated from the same zod schema the server validates against at the wire — it cannot drift from runtime behavior.

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {}
}

Every tool returns the standard envelope — tier_used, model, tokens_in/tokens_out, elapsed_ms, backend provenance, warnings. See Envelope & tiers.

Schema + handler: src/tools/corpusList.ts · registration: src/index.ts


Back to the Tool Reference.