decision_write

Write data through a governed Data Product with an explicit purpose.

Overview

All data writes in TraceMem happen through Data Products. Every write operation must specify a purpose and use the allowed operations (insert, update, delete) defined by the data product.

Method

text
tools/call

Tool Name

text
decision_write

Parameters

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

text
{
  "decision_id": "dec_...",
  "product": "orders",
  "purpose": "order_creation",
  "mutation": {
    "operation": "insert",
    "records": []
  }
}

Response

[Content to be filled]

Operations

  • insert - Insert new records
  • update - Update existing records
  • delete - Delete records

Example

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

TraceMem is trace-native infrastructure for AI agents