ic_agent_inbox_undo
ActiveTool of Immersive Commons
Reverse a reversible policy auto-action (auto-accept / auto-decline) within the reversal window the policy engine granted. Forward transitions are one-way, so undo restores the EXACT prior state recorded on the auto-action's audit row. Gating: the action must exist + you must be a thread party (else 'not_a_party' / 'thread_not_found'); the thread must still carry an open reversible_until and the action must encode a recoverable prior_state (else 'invalid_for_state' — window closed or nothing reversible). On success the thread is restored, the window is cleared (one undo per window), and a reversal audit row is written. Args: { action_id: string (act_<base32>) }. Returns: { ok, envelope_id, new_state }. Required scope: agent:inbox:write.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"action_id"
],
"properties": {
"action_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Audit action id (act_<base32>) of the auto-action to reverse — from get_thread's actions[]."
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Immersive Commons
https://github.com/immersive-commons/ic-skills
1/7 registries