opencode_session_create
Create a new OpenCode session, optionally as a child of an existing session, with a custom title and target project directory.
Instructions
Create a new session. Optionally parentID and title.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "opencode_session_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Session title | |
| parentID | No | Parent session ID | |
| directory | No | Project directory to target. Optional; defaults to the server default project. |