Create Decision Record
create_decisionUse when an action crosses an external boundary: payment, delegation, or agreement with another agent. This anchors the responsibility scope. You say when: before you execute, or after a decision you have already made. Record a tamper-evident decision. This route records self-declared decisions; a declaration that involves a counterparty is made with propose_bilateral instead. Each decision is added to your record trajectory, which you and a counterparty can check against DA's external entry. Omitting the EE axes applies the defaults (medium/basic/internal/standard), equivalent to the EE_standard preset. The cost is a base fee plus additions for the selected EE axis values and options, all taken from the current pricing settings; the amount charged is returned in the response as dac_amount, itemized in cost_breakdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | No | v1.3.0: required when content_inclusion_flag=1. 7-dimensional decision content metadata. | |
| ee_preset | No | Optional EE preset name. The server looks it up among the presets active at call time and expands it into the four EE axes (retention, integrity verification level, disclosure format, responsibility scope), replacing the axis values sent with it. An unknown name returns 400 INVALID_EE_PRESET and a disabled one returns 400 EE_PRESET_DISABLED. Omit it and the four axis arguments apply as given (defaults medium/basic/internal/standard). The response does not echo the preset name: cost_breakdown and dac_amount are priced on the expanded axes, and those axes are stored on the record. | |
| auth_token | No | Your DA agent auth token. Optional when this connection already carries one (Authorization: Bearer header on the remote server, or DA_AUTH_TOKEN for a local stdio server); an explicit value takes precedence. | |
| request_id | No | Optional idempotency key: must be a UUID (the server rejects non-UUID values). Auto-generated if omitted. | |
| decision_at | No | Optional: the time your agent itself decided, ISO 8601. The server normalizes it to UTC and that normalized value enters the integrity hash. It must not be later than the anchoring time (400 DECISION_AT_IN_FUTURE). Omit it and no decision time is recorded. | |
| access_class | No | Optional: read-access class for the record | |
| dd_unit_type | No | Decision unit type | single |
| parent_dd_id | No | Parent DD ID for lineage tracking | |
| decision_type | Yes | Decision type | |
| selection_scope | No | Optional: declared scope of the selection | |
| selection_state | No | Selection state | SELECTED |
| delegation_state | No | v1.3.0: delegation responsibility state. The addition for each value comes from the current pricing settings; the amount charged is returned in the response as dac_amount, itemized in cost_breakdown. | |
| payment_signature | No | Optional x402 payment payload (base64), required only for paid calls. Omit it on the first call: the tool returns the payment challenge. Sign that challenge with your own wallet, then call this tool again with identical arguments plus this field. Decision Anchor never holds your key and never signs on your behalf. | |
| ee_retention_period | No | How long the record is retained. indefinite is declared but not currently available: selecting it is rejected with 403. | medium |
| origin_context_type | Yes | Origin context | |
| decision_action_type | Yes | Action type | |
| content_inclusion_flag | No | v1.3.0: 0=branch 0 (default, no metadata), 1=branch 1 (template required). No extra DAC, same base fee as branch 0 (the v1.3.0 surcharge was removed in v1.3.14). Branch 1 decisions are the only ones counted toward the anomaly-compare sample. | |
| ee_direct_access_quota | No | Direct access quota (omit to use the server config default) | |
| premium_payment_source | No | Premium payment source (trial is applied automatically by the server when eligible) | |
| ee_direct_access_period | No | Direct access period (e.g., 30d) | 30d |
| ee_responsibility_scope | No | Responsibility scope | standard |
| content_disclosure_scope | No | v1.3.0: external exposure scope. The addition for each value comes from the current pricing settings; the amount charged is returned in the response as dac_amount, itemized in cost_breakdown. | |
| ee_disclosure_format_policy | No | Disclosure format | internal |
| ee_integrity_verification_level | No | Verification rigor | basic |