listDocuments
List vault documents filtered by path prefix, tag, or pinned status, newest first, with bodies omitted for lightweight results; fetch full content separately.
Instructions
List vault documents, most-recently-updated first, filtered by pathPrefix, tag, and/or pinned. Bodies are omitted to stay lightweight; call readDocument for one document's full body and edges.
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": "listDocuments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Restrict to documents whose frontmatter tags include this value. | |
| limit | No | Max documents to return (default 50). | |
| pinned | No | When true, only pinned documents. | |
| pathPrefix | No | Restrict to documents whose path starts with this prefix, e.g. notes/. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documents | Yes | Matching documents, most-recently-updated first. Bodies are omitted; call readDocument for the full body. |