Make tool parameter optional in missing_tool safe output#9600
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
🎬 THE END — Smoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨ |
|
💀 Blimey! Changeset Generator failed and walked the plank! No treasure today, matey! ☠️ |
|
📰 DEVELOPING STORY: Smoke Copilot reports failed. Our correspondents are investigating the incident... |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
Claude Engine Smoke Test ResultsLast 2 Merged PRs:
Test Results: Status: PARTIAL PASS - Core functionality verified, 2 tools missing
|
The
missing_toolsafe output required bothtoolandreasonparameters, preventing agents from reporting general limitations without naming a specific tool. The MCP server validation rejected calls missing thetoolparameter.Changes
Schema updates (
safe_outputs_tools.json,agent-output.json):required: ["tool", "reason"]→required: ["reason"]Handler updates (
missing_tool.cjs):toolfieldnulltool valuesType definitions (
safe-outputs.d.ts):tool: string→tool?: stringUsage
All existing tests pass. Added test coverage for optional tool parameter.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.