devtune_change_action_status
Move an action through its lifecycle as the member who created the API key or authorized this connection; they must manage actions in this project. Transitions come in pairs: accept a suggestion and unaccept it; archive and restore; block and unblock accepted work; mark_live and reopen. accept and archive of a suggestion, and their inverses, act on every suggestion merged into it. unaccept returns an accepted suggestion to the queue only while nothing has happened to it: no owner, never live, not blocked or in progress, nothing measured, and no brief, draft, edit, Library item, retest, prompt request added from another prompt, or dismissal note attached, whenever it was written; otherwise it is refused and the action stays accepted. Actions someone created, such as prompt actions, and acceptances recorded before DevTune noted they came from a suggestion, are refused too. Each undo is kept in the action's acceptance history, which outlives the suggestion if a later refresh replaces or drops it. restore returns archived work to the status it had, including live. Work archived while blocked returns to blocked, except work archived before DevTune kept that state, which returns to the status it had before it was blocked. mark_live opens the before/after measurement in Results from now, or from liveOn, the UTC day the fix went live (today or up to 14 days back); an optional publishedUrl is added to the pages the action already carries, which all stay. mark_live with liveOn on a live action moves its go-live date and rebuilds its measurement from that day; a measurement that has closed or is dated by a recorded page change keeps its date and the move is refused with invalid_transition. reopen keeps the measurement, its go-live date and its published pages. A high-stakes target page refuses accept until acknowledgeHighStakes is true, which needs a human's confirmation; a locked page refuses it. Repeating accept, unaccept, archive, block, unblock, reopen, or mark_live without a new page or go-live date changes nothing and returns changed false; restore of an action that is not archived is refused with invalid_transition, because the status it would return to is not known. A refusal is a 409 with reason invalid_transition, not_reversible, acknowledgment_required, page_locked, superseded or conflict (the action, its merged suggestions or its target page's protection changed during the request, or the merged suggestions cannot all move in one change), and nothing is written. Some suggestions archived before DevTune recorded which suggestions were archived together share their archive time with others and are always refused with conflict; they stay archived. The credential and member are checked again where the change is written, so access revoked mid-request refuses it. Returns a receipt of the transition as it applied: fromStatus, toStatus, blocked, actionIds affected and transitionedAt. It is not a current read; use devtune_get_actions for that. Nothing is published to the customer's site.
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": {
"actionId": "<actionId>",
"transition": "<transition>"
},
"name": "devtune_change_action_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| liveOn | No | Only with mark_live. The UTC day the fix went live, YYYY-MM-DD, today or up to 14 days back; defaults to today. On a live action it moves the go-live date. Obtain human confirmation of the date first. | |
| actionId | Yes | ||
| transition | Yes | The lifecycle move to make. | |
| publishedUrl | No | Only with mark_live. The http(s) page where the fix shipped; added to any published pages the action already has. | |
| acknowledgeHighStakes | No | Only with accept. Confirms a human approved changing a high-stakes page. |