mcp__getDsl
Retrieve DSL (Domain Specific Language) data and coding rules from MasterGo design files. Parse JSON output to analyze design structure, component hierarchy, and extract properties for code transformation across frameworks. Requires fileId and layerId.
Instructions
"Use this tool to retrieve the DSL (Domain Specific Language) data from MasterGo design files and the rules you must follow when generating code. This tool is useful when you need to analyze the structure of a design, understand component hierarchy, or extract design properties. You must provide a fileId and layerId to identify the specific design element. This tool returns the raw DSL data in JSON format that you can then parse and analyze. This tool also returns the rules you must follow when generating code. The DSL data can also be used to transform and generate code for different frameworks."
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fileId | Yes | MasterGo design file ID (format: file/<fileId> in MasterGo URL) | |
layerId | Yes | Layer ID of the specific component or element to retrieve (format: ?layer_id=<layerId> / file=<fileId> in MasterGo URL) |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from MasterGo Magic MCP
Related Tools
- @mastergo-design/mastergo-magic-mcp
- @sammcj/mcp-data-extractor
- @graphlit/graphlit-mcp-server
- @saiprashanths/code-analysis-mcp
- @Arize-ai/phoenix