verify_snippet
Validate a code snippet's constructor calls against the registry before saving; pass the target file path to disambiguate duplicate names and prevent hallucinated parameters.
Instructions
Check a draft snippet's constructor calls against the registry before writing it to a file. Pass the intended file_path when known — imports in the snippet and the target location both help disambiguate duplicated names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| file_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| note | Yes | ||
| error | Yes | ||
| findings | Yes |