Add directories to a launched project
add_directoriesSubmits a launched project to more directories from its free allowance without spending a launch, after previewing and confirming the selected directory count.
Instructions
Submits a launched project to more directories from its free allowance (no launch is spent). Call preview_launch with the same arguments first and get the user to agree. An include longer than the free allowance answers allowance_exhausted; a directory already listed answers invalid_directories.
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": {
"project_id": "<project_id>",
"directories": "<directories>",
"confirm_selected": "<confirm_selected>"
},
"name": "add_directories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project id (prj_...) | |
| directories | Yes | "auto" (best matches, highest DR first), {include: [ids]} exactly these, or {exclude: [ids]} auto without these | |
| confirm_selected | Yes | The directory count from preview_launch that the user agreed to | |
| excluded_directories | No | Replaces the project's whole exclusion list for this request; [] clears it. To leave some out once, use directories: {exclude} |