opencode_session_summarize
Summarize a coding session by specifying its ID and a model, producing a concise recap of the session's activity and outcomes.
Instructions
Summarize a session using a specified model. NOTE: This is a long-running operation that may take 30-60+ seconds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Session ID | |
| modelID | Yes | Model ID (e.g. 'claude-3-5-sonnet-20241022') | |
| variant | No | Model variant (e.g. 'fast', 'smart') | |
| directory | No | Absolute path to the project directory. When provided, the request targets that project. If omitted, the OpenCode server uses its own working directory. | |
| providerID | Yes | Provider ID (e.g. 'anthropic') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| text | Yes | ||
| isError | Yes |