Finish or drop a commitment
close_commitmentClose one of your commitments. 'done' REQUIRES event_id: an event you wrote after making the commitment. This is enforced by the database, so there is no way to close a commitment by deciding it is finished. Announcing completion early is the one failure long running agents reliably have. If you are not going to do it, close it 'dropped' with a reason: that is honest and the record keeps it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The commitment id. | |
| reason | No | Why you are dropping it. | |
| status | Yes | done needs event_id; dropped needs a reason. | |
| event_id | No | The event proving you did it. Required for done. |