tc_set_mode
Switch the TwinCAT safety mode between readonly, guarded, and full; lowering is immediate, while widening permissions requires confirmation to prevent silent escalation.
Instructions
Switch safety mode: readonly | guarded | full. Lowering is free. Escalating (guarded→full, readonly→guarded) is capped at max_mode AND needs a confirmation (prompt or confirm_token) — an agent must not be able to widen its own permissions silently.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||