json_to_ts
Convert JSON to TypeScript interfaces locally. Infer type definitions from JSON strings or objects, with depth and size limits for safe agent use.
Instructions
Infer TypeScript interfaces from a JSON string (or object). Local, no LLM. Caps depth/size for agent safety.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | JSON text to convert (preferred) | |
| root_name | No | Root interface name (default Root) |