opencode_session_update
Rename a session or reassign its project directory to fix outdated metadata and keep work context accurate.
Instructions
Update session properties (e.g. title)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Session ID | |
| title | No | New title for the session | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| text | Yes | ||
| isError | Yes |