script
Tools / Anything else · writes, dry-run by default
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.
Parameters
codestringrequired
Rhai source.
dry_runboolean
Preview only (default true); false applies.
Call
json
{
"name": "script",
"arguments": {
"code": "…"
}
}