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.
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>",
"name": "<name>"
},
"name": "create_cospend_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |