decision_close

Close a decision by either committing or rolling back all changes.

Overview

Every decision must be closed. Use commit to finalize the decision and all its changes, or rollback to cancel the decision and revert all changes.

Method

text
tools/call

Tool Name

text
decision_close

Parameters

[Content to be filled - from provided getting started guide]

text
{
  "decision_id": "dec_...",
  "action": "commit"
}

Actions

  • commit - Finalize the decision and all changes
  • rollback - Cancel the decision and revert all changes

Response

[Content to be filled]

Example

[Content to be filled - from provided getting started guide]

Error Handling

[Content to be filled - always rollback on error]

TraceMem is trace-native infrastructure for AI agents