| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:880ef5f7-93f2-02e7-e4be-74f332a32e19 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BAF8:2FBB44:244139:32C5F0:6AFB5178 |
| html-safe-nonce | 2695c00ec6787b6f764a805ed0ad7dd54103922848bbda38141aa4b40940992e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUY4OjJGQkI0NDoyNDQxMzk6MzJDNUYwOjZBRkI1MTc4IiwidmlzaXRvcl9pZCI6IjYzNzgyMzYyNTgzOTIxNjY3NzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 269dfe70be6c24c60626a2eb2db7d0b858176e6ab17a82b77935e643f6f3ca5a |
| hovercard-subject-tag | pull_request:4453532181 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/7538/files |
| twitter:image | https://avatars.githubusercontent.com/u/96924014?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/96924014?s=400&v=4 |
| og:image:alt | Summary
Let an agent tool's Permission Mode be a fixed selector value or a variable such as <start.toolMode>. The expression is resolved before tool filtering, and anything other than aut... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cbf66c024bb6d10e6955baa7413c54cf13a201bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/7538/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7538%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7538%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/7538/files |
| Reload | https://github.com/simstudioai/sim/pull/7538/files |
| Reload | https://github.com/simstudioai/sim/pull/7538/files |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests197 (197) | https://github.com/simstudioai/sim/pulls |
| Actions | https://github.com/simstudioai/sim/actions |
| Projects | https://github.com/simstudioai/sim/projects |
| Security and quality | https://github.com/simstudioai/sim/security |
| Insights | https://github.com/simstudioai/sim/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| j15z | https://github.com/j15z |
| staging | https://github.com/simstudioai/sim/tree/staging |
| codex/agent-tool-permission-mode | https://github.com/simstudioai/sim/tree/codex/agent-tool-permission-mode |
|
Conversation
56
| https://github.com/simstudioai/sim/pull/7538 |
|
Commits
3
| https://github.com/simstudioai/sim/pull/7538/commits |
|
Checks
37
| https://github.com/simstudioai/sim/pull/7538/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/7538/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7538/files |
|
feat(agent): allow variable tool permission modes
| https://github.com/simstudioai/sim/pull/7538/files#top |
|
Show all changes
3 commits
| https://github.com/simstudioai/sim/pull/7538/files |
|
b3530db
feat(agent): allow variable tool permission modes
j15z Sep 11, 2026
| https://github.com/simstudioai/sim/pull/7538/commits/b3530db90ec05d0a8f349670bfdbaf1efa927e65 |
|
8da1dcb
fix(agent): keep permission modes with reordered tools across API edits
j15z Sep 14, 2026
| https://github.com/simstudioai/sim/pull/7538/commits/8da1dcbb0bb9c6110666354d0543cc195220c121 |
|
b17a4ac
docs(agent): document the tool Permission Mode control
j15z Sep 14, 2026
| https://github.com/simstudioai/sim/pull/7538/commits/b17a4ac862acb50a2fe450e5a815de470929a6d5 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/7538/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7538/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7538/files |
|
openapi-v2-workflows.json
| https://github.com/simstudioai/sim/pull/7538/files#diff-811f737e7f97ec52156a37e71892822626b5b4de295efebd20992198d162149b |
|
usage-control.tsx
| https://github.com/simstudioai/sim/pull/7538/files#diff-42f54841e2e47aaf5964133914dff6af5ac04ac51752cb92cf89668809939ad6 |
|
tool-input.tsx
| https://github.com/simstudioai/sim/pull/7538/files#diff-9d18e37ae3bc1e0d6e4ea27b679516985bafc2a806b5adbddd05f35599dc5044 |
|
agent-handler.test.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-5fa11051a09b82360438ce6a447b4eeb6faa66fa2f668ce615f81fb4ea906f07 |
|
agent-handler.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-99cbd7f57b71719ca1561f15e7aecdc9f7a969ae5ea3589aee9fa64b3c9bf614 |
|
types.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-4c269ad308778a9d7a7cceec214349aa6d92a2b2cddd18bcfb39ad7dddc8d86a |
|
resolver.test.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-2fa26b2dbc26ddf18b930cacd45e8f8785bea1a3c1183192cbb19678ea81b649 |
|
workflow-agent-tools.test.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-06492807edc8a327d8505c0528b0786c4b4cc46e2d33c3f7a2cba6faa05fd51a |
|
workflows.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-7c1b6e587b506ea981d107bc7496349fd5020fd823e34f9c13d70f6845829728 |
|
builders.test.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-0469ef64faa551e59b7bdf121fe0c934685ebd309bba11726f54176c19997e09 |
|
builders.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-77372451cda55e4433dc1eec73daa7839f540be5f619e6c157a5a289ba1ef502 |
|
engine.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-edcfe5af5b1850957818b19d0fc5feff46cae6acc1ddbb2a85eeb1610ae37eba |
|
operations.test.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-6bb2b130cdc72cb4252605227c02134b7c8d196515f6426379ca6d41a2d7f1cc |
|
import-export.test.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-2e36700417cd1c79b4af6b3b1e2f2ebf6230b08f697506c64f7c08f913e3e0f2 |
|
json-sanitizer.test.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-6625eabd45a4205b12dd668fb02522685639a0a837d5556de10690d56ad3d8cc |
|
json-sanitizer.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-985e9a52442474800b843457de8718a7dc0789b77c17f1c4aebbc89f1e91985f |
|
indexer.test.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-5ffc04e0dbdd5ef8efa2d91372c71ecf297365c14b31b2c22b9253bc395b6615 |
|
indexer.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-8d4f1d87c5bf2fd16d5cfcd0fc5f42322e04a9e5fca83f9fbb9938bda006769e |
|
types.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-aa1401b247faef8d992aa42c1bca30b5f9f4de319d2c8670e53f87b3f65b1eb3 |
|
usage-control.test.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-bf081466e5711cc8871a3677757f72c5383f7dee3ed7fbfa2616016fc73e42b2 |
|
usage-control.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-a127047fe1557b9a51de85be7311077a772c672e8d9289334787033eb9bf8ee6 |
|
v2-api.ts
| https://github.com/simstudioai/sim/pull/7538/files#diff-e856e756b18965607efb943e85bad153871936ce3ee5180ec2e8073a28dd1dd7 |
| apps/docs/openapi-v2-workflows.json | https://github.com/simstudioai/sim/pull/7538/files#diff-811f737e7f97ec52156a37e71892822626b5b4de295efebd20992198d162149b |
|
View file
| https://github.com/simstudioai/sim/blob/b17a4ac862acb50a2fe450e5a815de470929a6d5/apps/docs/openapi-v2-workflows.json |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/7538/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/7538/files#diff-811f737e7f97ec52156a37e71892822626b5b4de295efebd20992198d162149b |
|
| https://github.com/simstudioai/sim/pull/7538/files#diff-811f737e7f97ec52156a37e71892822626b5b4de295efebd20992198d162149b |
|
| https://github.com/simstudioai/sim/pull/7538/files#diff-811f737e7f97ec52156a37e71892822626b5b4de295efebd20992198d162149b |
|
| https://github.com/simstudioai/sim/pull/7538/files#diff-811f737e7f97ec52156a37e71892822626b5b4de295efebd20992198d162149b |
|
| https://github.com/simstudioai/sim/pull/7538/files#diff-811f737e7f97ec52156a37e71892822626b5b4de295efebd20992198d162149b |
|
| https://github.com/simstudioai/sim/pull/7538/files#diff-811f737e7f97ec52156a37e71892822626b5b4de295efebd20992198d162149b |
|
| https://github.com/simstudioai/sim/pull/7538/files#diff-811f737e7f97ec52156a37e71892822626b5b4de295efebd20992198d162149b |
|
| https://github.com/simstudioai/sim/pull/7538/files#diff-811f737e7f97ec52156a37e71892822626b5b4de295efebd20992198d162149b |
|
| https://github.com/simstudioai/sim/pull/7538/files#diff-811f737e7f97ec52156a37e71892822626b5b4de295efebd20992198d162149b |
|
| https://github.com/simstudioai/sim/pull/7538/files#diff-811f737e7f97ec52156a37e71892822626b5b4de295efebd20992198d162149b |
| ...ents/editor/components/sub-block/components/tool-input/components/tools/usage-control.tsx | https://github.com/simstudioai/sim/pull/7538/files#diff-42f54841e2e47aaf5964133914dff6af5ac04ac51752cb92cf89668809939ad6 |
|
View file
| https://github.com/simstudioai/sim/blob/b17a4ac862acb50a2fe450e5a815de470929a6d5/apps/sim/app/workspace/%5BworkspaceId%5D/w/%5BworkflowId%5D/components/panel/components/editor/components/sub-block/components/tool-input/components/tools/usage-control.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/7538/{{ revealButtonHref }} |
| Please reload this page | https://github.com/simstudioai/sim/pull/7538/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7538/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7538/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7538/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7538/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |