create_cospend_project
Create a new Cospend project as admin. Provide a slug and display name; if taken, a unique id is assigned. Returns project with default categories and payment modes.
Instructions
Create a new Cospend project. The caller becomes ADMIN of it.
Args:
project_id: Desired string id (slug). If the id is already taken,
the server appends a digit to make it unique — check the id
field of the returned project for the actual id assigned.
name: Display name (does not have to be unique).
Returns: JSON of the new project (full info — same shape as get_cospend_project), including the resolved id and the default categories and payment modes that the server seeds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |