Complete toolkit for configuring and extending OpenCode: agent creation, custom slash commands, configuration management, plugin development, and SDK usage.
98
98%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
A user wants to create an OpenCode plugin that adds a custom tool called "jira-lookup" that the AI can invoke to look up JIRA ticket details. The tool should accept a "ticket_id" argument (string) and return the ticket summary as a string.
Show how to implement this plugin with the custom tool definition, including proper schema validation.