Tool error and permission-denial debug logs now report structured metadata instead of raw tool names and text snippets
Local debug log lines for tool input validation errors, validate-input rejections, permission denials, and runtime tool errors no longer include a raw slice of the offending input, message, or error text. Instead they report structured details: issue codes, byte/character counts, and error codes. These log lines also now use a new classifier that labels skill tools, MCP tools, and dynamically-named tools with a generic label like skill_tool, mcp_tool, or dynamic_tool instead of printing the tool's literal name.
This keeps potentially sensitive tool names and raw error content out of debug logs while still giving useful, structured information for diagnosing tool failures.