Reset the Persistent Script VM
vm-resetClear the persistent VM environment for the script tool, discarding globals and functions from prior runs to start a clean session without touching the game.
Instructions
Wipe the persistent VM environment used by the script tool. Every global, function, and value defined by previous persistent script runs is discarded, giving you a clean session. This does NOT touch the game itself — only the VM's own sandboxed environment. Wipes ONLY your own scope: pass the same agent label (and client) you run scripts under so it clears that agent's VM on that game, never a co-tenant's. Returns { reset = true }. Signature: { client: string?, agent: string? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client. Produces: operation-receipt. Safety: read-only. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Optional. Reset the persistent VM belonging to this agent lane — pass the SAME label you run your `script`/`execute` calls under, so you clear your own VM and not a co-tenant agent's. | |
| client | No | Optional. Reset the VM on a specific connected client (its clientId or username) for THIS call, instead of your session's selected client. |