Jada Session icon

Jada Session

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

Fork Session

AI-generated

Summary

Forks an OpenCode session, optionally starting the fork from a specific message. Requires the session ID; when provided, the message ID is sent as the fork point.

Inputs

  • Session ID (required) — ID of the session to fork.
  • Message ID — Optional message ID to use as the fork point. If left blank, the request sends an undefined messageID.

Output shape

One or more n8n items containing the fork endpoint response as JSON.

If the endpoint returns an array, each element becomes a separate item; otherwise, its response becomes one item. Errors are thrown unless Continue On Fail is enabled, in which case an item with an error field is returned.

Links

Discussion