servers_list
Lists available OpenCode servers and auto-discovers the local server when no config file exists, helping agents identify sessions they can connect to.
Instructions
List available OpenCode servers. Without a config file, the local server on this machine is discovered automatically.
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": "servers_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||