docs: adding tools doc

This commit is contained in:
Jay V
2025-10-08 15:58:57 -04:00
parent 7be9a84b72
commit f3b5021936
6 changed files with 36 additions and 32 deletions

View File

@@ -86,6 +86,24 @@ You can configure TUI-specific settings through the `tui` option.
---
### Tools
You can manage the tools an LLM can use through the `tools` option.
```json title="opencode.json"
{
"$schema": "https://opencode.ai/config.json",
"tools": {
"write": false,
"bash": false
}
}
```
[Learn more about tools here](/docs/tools).
---
### Models
You can configure the providers and models you want to use in your OpenCode config through the `provider`, `model` and `small_model` options.