code_mapping
Read or update the Figma-to-code component mapping stored in .layerwright/mapping.json, then commit it to share with your team.
Instructions
Read or upsert the Figma component → code component mapping stored in .layerwright/mapping.json (commit it to share with the team).
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": {
"action": "<action>"
},
"name": "code_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| mappings | No |