edict_patch
Apply targeted patches to fix errors in Edict ASTs without resubmitting entire structures, then run validation checks to ensure correctness.
Instructions
Apply surgical patches to an Edict AST by nodeId, then run the full check pipeline. Use this to fix errors without resubmitting the entire AST. Each patch specifies a nodeId, an operation (replace/delete/insert), and the relevant field/value.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ast | Yes | The base Edict JSON AST to patch | |
| patches | Yes | Array of patches to apply | |
| returnAst | No | Include the patched AST in the response (costs tokens, off by default) |