opencode_project_list
List all projects registered on an OpenCode server. Use it to discover available projects or pick a target directory for subsequent operations.
Instructions
List all projects known to the opencode server.
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_project_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Project directory to target. Optional; defaults to the server default project. |