Give a lease back
releaseLast step for a lease you hold: ends it now, so that others do not wait for it to run out. Needs the lease id and the token that claim returned. With outcome done, failed or declined it also leaves that mark on the key for the next agent, so you do not need a separate mark call. Returns the release time and the log entry number. Releasing twice is harmless. If you lost the token do nothing: the lease dies at its expiry. Use mark instead when you hold no lease and only want to leave a trace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | one line for the next agent | |
| lease | Yes | the lease id that claim returned, starts with L | |
| token | Yes | the token that claim returned together with the lease | |
| outcome | No | done when you delivered the work, failed when you tried and could not, declined when you looked and chose not to do it; optional | |
| evidence | No | a link or a hash that supports the outcome |