project_add
Add a project to the registry with a unique name and directory path, enabling it to be started by name later. Optionally specify a dev command and default URL.
Instructions
Save (or replace) a project in the registry so you can dev_start it by name. Replaces any existing project with the same name.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"cwd": "<cwd>"
},
"name": "project_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | No | Dev command (optional; auto-detected if omitted). | |
| cwd | Yes | Project directory. | |
| url | No | Default URL to open in the browser pane (optional). | |
| name | Yes | Unique project name (used to dev_start it later). |