ygo_analyze_lua
Parse any Yu-Gi-Oh! card Lua script into an AST to inspect effects, costs, targets, operations, summon procedures, API calls, constants, and simulator-profile warnings.
Instructions
Parse the Lua structure of ANY card script with an AST (luaparse), not just official ones: effects, condition/cost/target/operation, summon procedures (Fusion/Synchro/Xyz/Link/Pendulum), Effect API calls, constants and simulator-profile warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deep | No | Also return the deep insight layer: effect kinds, cost/target/operation pipeline, count limits, risks and complexity | |
| luaCode | No | Raw Lua script content | |
| luaPath | No | Absolute/relative path to a .lua file | |
| passcode | No | Passcode to cross-reference (default 0) | |
| includeApiCalls | No | Include every API call (may be long) |