Projects
create_project
Create empty marketplace project ยท Changes data
Create an empty project in one marketplace.
- A normalized matching name joins its existing group and shares its variation setting and slot.
- Optional project labels replace assignments throughout that group.
- If any assignment is removed, returns an exact confirmation plan without creating the project; show it and wait for explicit confirmation before
execute_removal. - Otherwise commits immediately and costs 5 credits.
- Resolve marketplace ambiguity first.
- Do not blindly repeat after uncertain delivery; inspect
list_projects.
Input
| Name | Type | Required | Description |
|---|---|---|---|
project_name | string | Required | Project-group name. Surrounding ASCII whitespace is trimmed; matching names join the existing group. Maximum length 10000. |
label_ids | integer[] | Optional | Replacement project-label IDs for every marketplace in the group. Omit to retain assignments. At most 1000 items. |
marketplace | string | Required | Supported marketplace code from the server instructions. Maximum length 16. |
should_track_variations | boolean | Optional | Variation tracking for a new group; must match when joining an existing group. |
Output
Read this object from the result's structuredContent. The result's content carries a text version for the model, which is not always the same JSON.
The result is one of 2 shapes.
Variant 1
Fields of data:
| Name | Type | Required | Description |
|---|---|---|---|
plan_reference | string | Required | Pattern ^[A-Za-z0-9_-]{43}$. |
operation | string | Required | |
expires_at | string (date-time) | Required | |
targets | object[] | Required | |
consequences | object[] | Required | |
instructions | string | Required |
Variant 2
Fields of data:
| Name | Type | Required |
|---|---|---|
operation | "create_project" | Required |
committed | true | Required |
recovered | boolean | Required |
outcome | object | Required |
data.outcome
| Name | Type | Required |
|---|---|---|
project | ProjectSummary | Required |
Full input and output JSON Schema
Code