DropEngine
Action Lock · PAID MCP TOOL

action_lock

Prevent duplicate side effects across agent retries, crashes, and concurrent workers.

When an agent should call it

Acquire before sending payments, purchases, orders, emails, transactions, writes, or other external actions that must not happen twice. Complete after the external action succeeds; release only after confirmed failure. Leases protect concurrent execution, while completed records protect retries during the dedupe window. An expired lease can hide a successful external action, so reconcile before retrying. This is not an exactly-once guarantee.

Input: Operation (acquire, complete, release, status), scoped action ID, optional payload fingerprint, and lease token for completion or release

Price: $0.001 USDC per call, paid in USDC via x402 on Base.

MCP connection: one-time setup, then call action_lock on each needed workflow.

Direct HTTP resource: https://mcp.dropenginehq.com/api/action-lock

Example input

{
  "operation": "acquire",
  "action_id": "send_invoice_92834",
  "scope": "invoice-email",
  "lease_ttl_seconds": 60,
  "dedupe_ttl_seconds": 86400,
  "payload_hash": "sha256:0123456789abcdef"
}

Each call requests payment for this tool only. The agent receives a structured result and decides what to do next. Check the limits above before acting on risk, market, freshness, or availability results.

MCP endpoint: https://mcp.dropenginehq.com/api/agent-services