Jada Session icon

Jada Session

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

Summarize

AI-generated

Summary

Summarizes an OpenCode session using the specified provider and model. The operation sends a POST request to the session’s summarize endpoint and returns the result as an ok field.

Inputs

  • Session ID (required) — ID of the session to summarize.
  • Provider ID — Provider to use; defaults to anthropic.
  • Model ID — Model to use; defaults to claude-sonnet-4-6.

Output shape

A single item containing the API result in an ok field.

The operation returns {ok: ...}; if the API returns no content, the item contains an empty object. Errors are thrown unless Continue On Fail is enabled, in which case an item with an error field is returned.

Links

Discussion