Actions13
Summarize
AI-generatedSummary
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 anerrorfield is returned.