opencode_list_sessions
List all active and recent opencode sessions.
Instructions
List all active and recent opencode sessions.
Return Format
{"success": bool, "message": str, "data": {"sessions": [{"id": str}]}}
Examples
opencode_list_sessions()
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_list_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||