opencode_session_update
Update session properties, including title and target project directory, for an existing session ID via OpenCode HTTP MCP.
Instructions
Update session properties (e.g. title).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "opencode_session_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| title | No | ||
| directory | No | Project directory to target. Optional; defaults to the server default project. |