files_list
Browse file metadata with filters for project, tag, favorite, folder, kind, or untagged status. Use pagination and token totals to plan before reading file bodies.
Instructions
List file metadata with optional filters (project_id, tag, favorite, folder, untagged, kind) and pagination. Read-only; no side effects, auth, or rate limits. Each row is annotated with tags, est_tokens, size_bytes, and content_class; the response includes total_est_tokens so you can budget before reading bodies. project_id: null returns ONLY Knowledge Base files; omit the field to span everything; kind narrows to one content class. Use to browse known structure; for keyword/content lookup use files_search; for a denser whole-vault dump use projects_map.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Filter by tag name | |
| kind | No | Filter by content class. dictionary = authoritative KB, note = informational KB, journal = time-log, project = project file. | |
| limit | No | Maximum number of results | |
| folder | No | Filter by folder path | |
| offset | No | Offset for pagination | |
| favorite | No | Filter by favorite status | |
| untagged | No | If true, return only files that have no tags. Useful for bulk-tagging workflows. | |
| project_id | No | Filter by project ID. Pass null to list ONLY Knowledge Base files (project_id IS NULL). |