projects_map
Generate a compact outline of folders, file titles, tags, and IDs for a Kontexta vault or project, helping you orient in unfamiliar knowledge bases while using fewer tokens than full JSON listings.
Instructions
Return a compact indented outline of folders, file titles, tags, and IDs in a single dense block: substantially fewer tokens than the equivalent files_list JSON for the same scope. Read-only; no side effects, auth, or rate limits. Capped at max_lines (default 5000); the response reports est_tokens and emits a warning field if it exceeds KONTEXTA_PROJECT_TOKEN_WARN. project_id: null = KB only; omit = everything. Defaults: include_tags=true, show_titles=true. Use to orient yourself in an unfamiliar vault or project; for keyword lookup use files_search.
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": "projects_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_lines | No | Hard cap on output lines (each line ≈ one folder or file). Default 5000. | |
| project_id | No | Restrict to a single project. Pass null for knowledge-base-only files. Omit for everything. | |
| show_titles | No | Show file titles instead of filenames. Default true. | |
| include_tags | No | Append #tags inline. Default true. Set false to shrink the outline. |