opencode_find_symbol
Find workspace symbols by name through OpenCode HTTP MCP. Returns unavailable when a 2.x server lacks the /api/fs/find route.
Instructions
Find workspace symbols by name. NOTE: 2.x server has no /api/fs/find route, so this reports unavailable.
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_find_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| directory | No |