{"version":"2.1.334","anchor":"artifact-mcp-tool-hook-input-normalization","canonical_anchor":"artifact-mcp-tool-hook-input-normalization","heading":"Hooks for the built-in Artifact tools receive a simplified tool input","tier":"notice","area":"Hooks","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/artifact-mcp-tool-hook-input-normalization","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Hooks for the built-in Artifact tools receive a simplified tool input\n\nHooks on the built-in Artifact tools now get a normalised tool_input, marked unread: true when the call's arguments could not be parsed\n\n**What**\n\nA hook is a script you set up to run automatically when Claude Code does something, such as using a tool. Hooks written for the built-in Artifact tools now receive a normalised `tool_input`, the description of what the tool was asked to do. They are told only the kind of call. When the call's arguments could not be parsed, `tool_input` carries `unread: true`.\n\n**Why**\n\nIf you write hooks for the Artifact tools, expect this reduced input and check for `unread: true` before relying on the arguments.\n\n- Area: Hooks\n- Names: `tool_input`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: yes"}