{"version":"2.1.281","anchor":"sdk-options-disallowedtools-parsed-maxthinkingtokens-check","canonical_anchor":"sdk-options-disallowedtools-parsed-maxthinkingtokens-check","heading":"SDK options: disallowedTools parsed; maxThinkingTokens check fixed","tier":"notice","area":"SDK","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/sdk-options-disallowedtools-parsed-maxthinkingtokens-check","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### SDK options: disallowedTools parsed; maxThinkingTokens check fixed\n\nSDK options now read disallowedTools, and the maxThinkingTokens whole-number check now checks the right value\n\n**What**\n\nWhen Claude Code combines options passed through the SDK (the kit for driving Claude Code from your own program):\n\n- `disallowedTools` is now read alongside `allowedTools`\n\n- The check that `maxThinkingTokens` is a whole number now looks at the value you passed, not a different one\n\n**Why**\n\nTools you list in `disallowedTools` are picked up in this step, and an invalid `maxThinkingTokens` value is checked against what you actually supplied.\n\n- Area: SDK\n- Names: `disallowedTools`, `maxThinkingTokens`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}