read_schema_from_file
Identify the Zod schema defined in a TypeScript or JavaScript file by specifying the file path and optionally the export name.
Instructions
Read a Zod schema directly from a TypeScript or JavaScript file. Use to answer: what schema is defined in this file?
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the .ts or .js file containing the Zod schema | |
| export_name | No | Name of the exported schema variable. If omitted, extracts the first Zod expression found. |