set_util_body
Sets or updates the body of a shared utility function, creating it if needed, so all call sites use the new implementation.
Instructions
Set a shared utility function's body -- plain TypeScript statements, no wrapping async function (...) { } (that's generated automatically from this body + the function's own params, see set_util_params). Creates the util on first use if name doesn't exist yet (landing in "custom-utils" -- move it afterward with set_util_group_name if needed). A step names this function via kind: <its groupName>, method: name (see add_step) instead of inlining code -- every step naming the same util calls this one shared function, so editing it here updates every call site at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| name | Yes | ||
| project | No | Path to the project root (same folder the side panel connects to). Defaults to the EASYSPEC_PROJECT environment variable if omitted. |