set_safety_rails
Configure session safety limits: enable dry-run to preview edits as rolled-back errors, and cap pixel changes per call so oversized edits roll back automatically.
Instructions
Set the safety rails for this session, or pass nothing to read them.
dry_run true makes every edit report what it would change, as an error,
then roll back; tools that save, export, or run raw Lua refuse instead.
max_changed_pixels caps what one call can change, and an edit over it is
rolled back; 0 removes the cap. It counts hidden layers. move_layer isn't capped, and
run_lua is capped only with edit=true.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_safety_rails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| max_changed_pixels | No |