Increment Counter
counter_nextAtomically increment a named counter and return the new value. Guaranteed unique, monotonically increasing integers across concurrent stateless runs - use it for sequence numbers, run IDs, or once-only ordering that agents cannot produce on their own. Starts at 1 on first call. Counters persist indefinitely.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Lock or counter name within the namespace. | |
| name | No | Lock or counter name within the namespace. | |
| namespace | Yes | Your private namespace. Pick a long unique string; it acts as the access key. |