Add project
add_projectAdd an existing directory as a tracked project. Returns project details (ID, path, name, color); already-known directories return the existing entry.
Instructions
Remember a directory as a project (the programmatic equivalent of the sidebar PROJECTS + button). The path must exist and be a directory; a git repo is NOT required. Adding an already-known directory is a no-op — returns added:false with the existing entry. Returns the project (id/path/name/color).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | absolute path to an existing directory to track as a project |