Opencode Investigate
opencode_investigateSearch project files using a query and retrieve matching file contents to investigate code issues and explore the codebase.
Instructions
Search project files and return the matching results.
Chains GET /find → GET /file/content for up to max_files results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| max_files | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |