slot_new
Create a project slot and lease its ports; reuse existing slot if name taken, or assign next free number.
Instructions
Create a slot for the current project and lease its ports. Returns the existing slot when the name is taken. Omit name for the next free number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | directory to resolve the project from; defaults to where the server was started | |
| name | No | slot name; omit for the next free number (or the slot already bound to this working copy) | |
| infra_from | No | share tier=infra services from this slot |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | ||
| created | Yes | ||
| project | Yes | ||
| services | Yes | ||
| infra_from | No |