opencode
opencode copied to clipboard
feat(plugin): add tool execute API endpoint
What does this PR do?
Introduce the /experimental/tool/execute endpoint, enabling execution of specific tools with provided arguments while enforcing permission constraints and returning the tool’s output.
Close #9056
How did you verify your code works?
- bun run typecheck
- testing the new API with client SDK v1/v2