{"version":"2.1.323","anchor":"sdk-permission-frame-field-server-policy-ask-only-covers-rea","canonical_anchor":"sdk-permission-frame-field-server-policy-ask-only-covers-rea","heading":"SDK permission requests mark more server-policy-only asks, including file tools","tier":"notice","area":"SDK","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/sdk-permission-frame-field-server-policy-ask-only-covers-rea","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### SDK permission requests mark more server-policy-only asks, including file tools\n\n`server_policy_ask_only` is now worked out by a dedicated check and also covers Read, Write and Edit prompts, and AskUserQuestion reports host approvals\n\n**What**\n\nWhen Claude Code needs permission to use a tool, it can pass the question to the app hosting it through the SDK. The field `server_policy_ask_only` tells that app the question exists only because of server policy.\n\n- The field is now also sent for the default prompt of Write or Edit when there is no reason type.\n\n- It is also sent for Read, Write or Edit when the file is outside the working directories (`workingDir`). Before, it was sent only with `decision_reason_type` 'rule' and for an MCP tool's ask that had no reason.\n\n- A new check decides the value from the decision reason, from working-directory asks for edit tools, and from the permission rules.\n\n- If any part of that check fails, the field is set to false and the log says 'serverPolicyAskOnly: a check threw, so server_policy_ask_only is false for this ask.'\n\n- `AskUserQuestion`, the tool Claude uses to ask you a question, now reports when the host's own dialog approved the answer, and can use a denial message supplied by the host.\n\n**Why**\n\nApps built on the SDK can now decide file-tool permission prompts from this field instead of always showing them.\n\n- Area: SDK\n- Names: `server_policy_ask_only`\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: org\n- Heads-up: no"}