script
Run sandboxed Rhai code on a binary snapshot to query resources and preview or apply proposed names when no built-in tool answers.
Instructions
Run a sandboxed Rhai script on a snapshot of the program: query(uri) and rows(uri) read any resource. Use it when no single tool answers. Proposed names apply only with dry_run=false; a failed script applies nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Rhai source. | |
| dry_run | No | Preview only (default true); false applies. |