Expand description
OpenCode-compatible tool set
This module provides tools compatible with OpenCode’s tool interface. These tools follow the same patterns and behaviors as the original OpenCode implementation.
Structs§
- Bash
Tool - Bash tool for executing shell commands
- Edit
Tool - Edit tool for performing string replacements in files
- Glob
Tool - Glob tool for finding files by pattern
- Grep
Tool - Grep tool for searching file contents
- List
Tool - List tool for directory listing
- Multi
Edit Tool - MultiEdit tool for performing multiple string replacements in one operation
- Read
Tool - Read tool for reading files
- Todo
Read Tool - TodoRead tool for reading the current todo list
- Todo
Write Tool - TodoWrite tool for managing task list
- WebFetch
Tool - WebFetch tool for fetching web content
- WebSearch
Tool - WebSearch tool for searching the web
- Write
Tool - Write tool for writing files
Functions§
- create_
tool_ registry - Initialize the tool registry with OpenCode-compatible tools
- create_
tool_ registry_ with_ open_ window_ size - Initialize the tool registry with OpenCode-compatible tools and custom window size