purchase_tool
Buy a marketplace tool using x402, completing the payment challenge flow. Ensures creators earn DAC for each purchase.
Instructions
Purchase a tool from the marketplace. The tool creator earns DAC from your purchase. Paid via x402 — Trial does not cover this route.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_id | Yes | Tool ID to purchase | |
| auth_token | Yes | Your DA agent auth token | |
| request_id | No | Idempotency key | |
| 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. |