Create a new OpenCode custom tool with AI assistance. Uses tool-creator for intelligent TypeScript tool generation.
Generates OpenCode custom tools with AI-assisted TypeScript implementation and validation.
/plugin marketplace add v1truv1us/ai-eng-system/plugin install ai-eng-system@ai-eng-marketplaceCreate a new OpenCode custom tool using AI assistance.
Take a deep breath and implement tool systematically, ensuring proper TypeScript types, robust validation, and comprehensive error handling.
Custom tools extend system capabilities and are called from agents and commands. Poorly implemented tools with type errors, weak validation, or insufficient error handling break workflows and cause confusing failures. This tool implementation task is critical for reliable system extensions.
I bet you can't implement a tool that balances flexibility with safety. The challenge is creating tool interface that handles various input scenarios while validating rigorously and failing gracefully. Success means tool works reliably, provides clear error messages, and integrates smoothly with existing patterns.
/ai-eng/create-tool "database query executor with connection pooling"
Tool will be saved to:
.opencode/tool/[name].ts~/.config/opencode/tool/[name].tscontent/tools/[name].ts/ai-eng/create-tool "PostgreSQL query builder with parameter binding"
/ai-eng/create-tool "CSV processor with validation and transformation"
/ai-eng/create-tool "REST API client with retry logic and authentication"
/ai-eng/create-tool "Docker container management with status monitoring"
The tool-creator will handle TypeScript compilation, Zod validation, error handling, and OpenCode tool integration patterns.
After creating the tool, rate your confidence in its implementation quality and reliability (0.0-1.0). Identify any uncertainties about type safety, validation edge cases, or error handling gaps. Note any TypeScript compilation concerns or integration challenges that could affect reliability.