{"version":"2.1.319","anchor":"auto-mode-classifier-rule-name-exposed-in-tool-result-metada","canonical_anchor":"auto-mode-classifier-rule-name-exposed-in-tool-result-metada","heading":"SDK results can name the auto mode rule behind a decision","tier":"notice","area":"SDK","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.319\/e\/auto-mode-classifier-rule-name-exposed-in-tool-result-metada","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.319","markdown":"### SDK results can name the auto mode rule behind a decision\n\nResults reported through the SDK now have a field naming which of your own auto mode rules decided a tool call\n\n**What**\n\nWhen auto mode's check decides a tool call, an action Claude takes, the SDK description of results now includes `auto_mode_rule`. It names the entry in your `autoMode` settings that the check cited, says whether that entry was an allow or a soft deny rule, and keeps the name to 120 characters or fewer.\n\n**Why**\n\nPrograms built on the SDK can show which of your own auto mode rules allowed or blocked a call.\n\n- Area: SDK\n- Names: `auto_mode_rule`, `autoMode`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: both\n- Heads-up: no"}