Skip to content

code_projects

code_projects returns all projects that have been indexed and are available for querying. Use it to see which codebases are available before switching between them.

code_projects()
Indexed projects (3):
api /home/user/projects/api (1,243 functions, FalkorDB)
dashboard /home/user/projects/dashboard (892 functions, FalkorDB)
mobile /home/user/projects/mobile (2,104 functions, Cozo)
  • Working in a monorepo or multi-project environment
  • Confirming a project is indexed before querying it
  • Before calling code_switch_project

To switch the active project:

code_switch_project(name="dashboard")