opencode_find_text
Search text patterns in project files. Reports unavailable on OpenCode 2.x due to missing API route.
Instructions
Search text patterns in project files. 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": {
"pattern": "<pattern>"
},
"name": "opencode_find_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| directory | No |