{"version":"2.1.333","anchor":"sdk-control-apiprovider-in-get-settings-and-file-reach-in-p","canonical_anchor":"sdk-control-apiprovider-in-get-settings-and-file-reach-in-p","heading":"SDK settings and permission queries now return more detail","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/sdk-control-apiprovider-in-get-settings-and-file-reach-in-p","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### SDK settings and permission queries now return more detail\n\nPrograms driving Claude Code now see the API provider in its settings and file reach in its permission rules\n\n**What**\n\nThe SDK lets a program control Claude Code by sending it requests. Three of those requests changed:\n\n- `get_settings` now includes the API provider among the applied settings, for connections that are not remote.\n\n- `list_permission_rules` now includes how far file reading reaches.\n\n- `apply_flag_settings` now records that the agent was chosen by the caller when it switches agents.\n\n**Why**\n\nA program built on the SDK can now see more about how Claude Code is configured without working it out for itself.\n\n- Area: SDK\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}