add_project
Register a new project directory by specifying its name and path to allow OpenCode to handle coding tasks within that project.
Instructions
Register a new project directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Execution mode (default: spawn) | |
| name | Yes | Project name (alias) | |
| path | Yes | Absolute path to project directory | |
| port | No | Port for persistent mode |