penpot_design_adopt
Put a piece Craft made, inside one of its own boards, in the place of another layer, such as the designer's original: in a flex or grid parent at its index, elsewhere at its position. The other layer is hidden and renamed, never deleted, and nothing inside a component is replaced. The emptied Craft board is removed. With retag, the piece is marked as part of that other Craft design from then on.
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": {
"expectedFileId": "<expectedFileId>",
"expectedPageId": "<expectedPageId>",
"designId": "<designId>",
"board": "<board>",
"section": "<section>",
"target": "<target>"
},
"name": "penpot_design_adopt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board | Yes | ||
| retag | No | ||
| target | Yes | ||
| section | Yes | ||
| designId | Yes | ||
| expectedFileId | Yes | ||
| expectedPageId | Yes |