Skip to content

Commit b17a4ac

Browse files
j15zclaude
andcommitted
docs(agent): document the tool Permission Mode control
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 8da1dcb commit b17a4ac

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input/components/tools

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input/components/tools/usage-control.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ const MODE_OPTIONS = [
3535
},
3636
] as const
3737

38+
/**
39+
* Permission Mode control for one agent tool. Selector mode picks a fixed `usageControl`, and
40+
* Variable mode edits a `usageControlExpression` that must resolve to auto, force, or none.
41+
* Both values are kept so toggling modes does not discard the inactive one.
42+
*/
3843
export function ToolUsageControl({
3944
blockId,
4045
aggregateSubBlockId,

0 commit comments

Comments
 (0)