Record the outcome of a claimed action
once_key_completeFree. Records the result of work you performed under a claim from once_key_claim. Every later claim of that action_key returns 'duplicate' along with this result, which is what lets another agent continue without repeating the side effect. Always call this after the work succeeds — a claim with no recorded result leaves every other agent unable to learn what happened. Completion is final and cannot be overwritten. This tool is free; no payment is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | How long to retain the result, in seconds (default 86400) | |
| result | No | Any JSON value describing the outcome, up to 16 KB serialized. Store large payloads elsewhere and record a reference. | |
| namespace | Yes | Isolation scope used when the key was claimed | |
| action_key | Yes | The action_key you claimed | |
| namespace_token | No | One-time token issued by the first call that claimed this namespace. Required for every later call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | The stored result, replayed to later claimants. | |
| status | Yes | 'completed' | |
| action_key | Yes | The key whose outcome was recorded | |
| expires_at | No | When the recorded result is discarded | |
| has_result | No | Distinguishes a recorded null result from no result at all | |
| completed_at | No | ISO-8601 completion time |