Conversation
Use plugin-provided parameters when available, restore .describe metadata for older plugin definitions, and validate custom tool inputs before execute.
Rehydrate plugin arg schema metadata into core Zod registry before JSON Schema export so descriptions/meta survive cross-instance loading. Keep plugin tool definitions minimal while preserving runtime validation in registry.
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found one potentially related PR: #14647 - fix(opencode): prevent Copilot 400 when tool description is empty This PR addresses issues with tool descriptions, similar to the current PR #15954 "Fix tool descriptions". However, without the full description of PR #15954, it's unclear if they're addressing the same specific issue or different aspects of tool descriptions. |
Issue for this PR
Closes #
Type of change
What does this PR do?
Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR.
If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!
How did you verify your code works?
Screenshots / recordings
If this is a UI change, please include a screenshot or recording.
Checklist
If you do not follow this template your PR will be automatically rejected.