Skip to the content

Capsid menu

capsid_find_docs

Find documents, on Capsid. Needs the read grant.

Reads only

What it does

Find documents in the knowledge base: list them by namespace, type and status, match paths by glob, search full text, or list the namespaces this caller may reach. Read-only.

What a client is told

The MCP hints it carries, so a client can ask before it acts (src/tool-annotations.ts).

Its 4 actions

Chosen by the action argument, with a default when it is left out.

list List documents by filter.

List documents with optional namespace, type, and status filters. Returns metadata rows without bodies under documents: id, namespace, path, title, type, status, tags and timestamps. Bounded to 500 rows; when there are more it sets truncated:true with a note.

Takes namespace, type, status.

glob Match document paths against a glob.

Find documents whose path matches a glob pattern (SQLite GLOB, e.g. 'notes/*.md'). Optional namespace filter. Returns matches under documents, bounded to 500 rows; when there are more it sets truncated:true with a note.

Takes namespace, glob.

namespaces The namespaces and their repos.

List the namespaces this caller is scoped to and the repos each maps to. A scoped agent sees only its own namespaces.

Takes nothing else.

Arguments

The arguments of capsid_find_docs
ArgumentTypeNeededWhat it is
actionone of: list, glob, search, namespacesnolist | glob | search | namespaces. Defaults to list.
namespacestringno
typestringno
statusstringno
globstringno
querystringno
modeone of: keyword, hybridno
include_retiredbooleanno