Jada Session icon

Jada Session

Manage OpenCode sessions: CRUD, abort, fork, diff, summarize, revert, shell

Revert Message

AI-generated

Summary

Reverts a specified message in an OpenCode session by sending its session ID and message ID to the session revert endpoint. Use it to undo changes associated with that message.

Inputs

  • Session ID (required) — ID of the session to revert.
  • Message ID (required) — ID of the message to revert.

Output shape

A single item containing an object with an ok field.

The ok value comes from the revert endpoint response. Each input item is handled separately; with Continue On Fail enabled, errors produce an item containing an error field.

Links

Discussion