opencode_session_search
Search OpenCode session titles by keyword to find relevant sessions. Use an optional directory to target a specific project.
Instructions
Search sessions by keyword in 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": {
"query": "<query>"
},
"name": "opencode_session_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| directory | No | Project directory to target. Optional; defaults to the server default project. |