mcp__getMeta
Obtain high-level site configuration and page rules from a MasterGo design file. Returns markdown rules and analysis results to guide website construction.
Instructions
Use this tool when the user intends to build a complete website or needs to obtain high-level site configuration information. You must provide a fileld and layerld to identify the specific design element. This tool returns the rules and results of the site and page. The rules is a markdown file, you must follow the rules and use the results to analyze the site and page.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileId": "<fileId>",
"layerId": "<layerId>"
},
"name": "mcp__getMeta"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | MasterGo design file ID (format: file/<fileId> in MasterGo URL) | |
| format | No | Output format for design data. Defaults to json. - json — default; useful when piping output into tools that expect JSON. - yaml — fewer tokens than JSON for typical designs. - tree — experimental compact format. Structural keys (id, name, type) are encoded positionally on each node line, and style values stay deduplicated in a globalVars block. Designs with heavy style reuse see the largest token savings. | |
| layerId | Yes | Layer ID of the specific component or element to retrieve (format: ?layer_id=<layerId> / file=<fileId> in MasterGo URL) | |
| sourceLayerId | No | Source layer ID from URL parameter source_layer_id. When provided, use this instead of layerId for all queries. |