Skip to main content
List items in the knowledge base. This is typically the first tool you call — use it to discover what documents exist and get their IDs before reading or editing.

Parameters

ParameterTypeRequiredDescription
filesystemstringNoFilesystem slug. Omit to search all accessible filesystems
pathstringNoStarting path prefix (e.g., "/guides/")
typeenumNodocument (default), section, folder, database, or all
namestringNoName filter — supports *, ?, [a-z] glob patterns
branchstringNoBranch name (default: document default branch)
limitintegerNoMax results (default: 100, max: 500)
maxdepthintegerNoMaximum depth to descend (0 = starting path only, 1 = direct children)
mindepthintegerNoMinimum depth (1 = exclude the starting path itself)
tagIdsstring[]NoFilter documents by tag IDs
tagFilterModeany | allNoHow to combine tagIds: any (default) or all

Response

Documents: { id, path, name, description, defaultBranch } Sections: { id, documentId, name, position } Folders: { path, name, depth } — virtual, derived from document paths Databases: { id, name, description, path }

Examples

"List all documents in Moxn"
→ find({type: "document"})

"Show me what's under /engineering/"
→ find({path: "/engineering/", type: "document"})

"Find all folders at the top level"
→ find({type: "folder", maxdepth: 1})

"Find documents tagged with 'needs-review'"
→ find({type: "document", tagIds: ["uuid-of-needs-review-tag"]})
  • search — full-text search on section content
  • read — fetch content by document/section ID
  • filesystems — discover filesystem slugs to pass as filesystem