release_work_plan_claim
RELEASES your plan claim (outcome): the claim ends and the plan can be claimed again (the refusals of claim_work_plan apply); its status does not change. progress, your last declaration, is written while the lease is live; expired, the claim still ends without it (progressNotRecorded). Response: { released: true, outcome, endedAt, progress }. Refusals { code, error }, nothing ended: PLAN_CLAIM_LOST, PLAN_CLAIM_ENDED, PLAN_NOT_CLAIMED, PLAN_CODE_MISMATCH, NO_PROJECT_TARGETED, CONNECTION_REQUIRED, WRITE_ACCESS_REQUIRED, PROJECT_OUT_OF_KEY_SCOPE, WRITE_LOCKED, PLAN_CLAIM_INVALID. Failures: STORAGE_ERROR, STORAGE_UNREADABLE, INVALID_INSTANT.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"planCode": "<planCode>",
"claimToken": "<claimToken>",
"outcome": "<outcome>"
},
"name": "release_work_plan_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outcome | Yes | How the claim ends. The plan status does not change. | |
| planCode | Yes | The code of the plan, as `list_work_plans` returns it. | |
| progress | No | Your last declaration, kept after the release. Omitted: your previous one stays. | |
| claimToken | Yes | The token `claim_work_plan` returned (a secret). A stale token: `PLAN_CLAIM_LOST`. | |
| expectedProjectId | No | UUID of the project THIS call targets (overrides the session project). |