Group of 2 You'll notice
No documentation found
Permission-ask dialogs can now show a structured 'card' explaining the decision, and addon tools can supply one.
What
- Tool-permission prompt info can now include an optional structured
card(with a question, lines, and values) shown when the permission decision reason is a safety check or similar, there's no matched ask-rule, and no denial-limit fallback applies. The card content comes from the tool's ownpermissionCardcallback. - The generic addon-tool factory now includes a
permissionCardproperty in the tool definition it builds, and wraps the finished tool object with a helper before returning it, so addon tools can supply this card.
Why This gives you a clearer, structured explanation (instead of plain text) when Claude Code asks permission to run a tool for safety reasons, and extends that capability to addon tools.
Names in the bundlepermissionCard