List the folder's documents
folio_documentsList all Markdown and diagram documents in a folder with their declared kind, so you can see what exists or filter by document type.
Instructions
List every markdown and diagram document under a folder of the served folder, with the kind a FOLIO.md declaration gives it. Use it to see what exists or which documents are of a kind; for documents matching a condition - a title, a field's value, a link - query folio.documents or kind. with folio_query, and for one document's blocks use folio_document. Answers {ready, documents: [{path, kind}]}: kind is null where no declaration places the document; ready false means Folio is still reading the folder and the list is incomplete, so ask again shortly. A list cut to fit one answer adds omitted, the entries each list left out, and narrow, how to ask for less.
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": "folio_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | A folder, relative to the served folder or absolute under it, such as notes/; omit for the whole folder |