Validate or delete a project
dolibarr_project_actionChange a Dolibarr project's status by validating it as open or permanently deleting it with its tasks. Preview changes first, then confirm to apply.
Instructions
Moves a project to another status. Actions: validate (the draft project becomes open); delete (deletes the project and its tasks permanently). This step cannot simply be undone: without confirm=true it only returns a preview.
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>",
"action": "<action>"
},
"name": "dolibarr_project_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| reason | No | One line on why, kept in the audit log. Required when confirm is true. | |
| confirm | No | false (default) = change nothing, only show what would happen. true = do it. Set true only after the user has explicitly agreed to this exact step. | |
| project_id | Yes |