> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "duplicateNode"
sidebarTitle: "duplicateNode"
description: "Duplicate a node in the Framer project. Creates an exact copy of the node and all its children. The duplicated node will be placed at the end of the original node parent. Returns the ID of the newly c"
tag: "TOOL"
tagColor: "purple"
gridGap: 30
---

<Aside full>
  <RequestExample>
    ```json lines=false
    {
      "method": "tools/call",
      "params": {
        "name": "duplicateNode",
        "arguments": {
          "nodeId": "string"
        }
      }
    }
    ```
  </RequestExample>
</Aside>

<MCPTool {...{"name":"duplicateNode","description":"Duplicate a node in the Framer project. Creates an exact copy of the node and all its children.\n\nThe duplicated node will be placed at the end of the original node parent.\n\nReturns the ID of the newly created duplicate node. It will have same attributes, content and children.\n\nDO NOT USE this tool to move a node to a different place or ordering. Instead use updateXmlForNode to change the parent of a node or its position in the layers tree.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"nodeId":{"type":"string","minLength":1,"description":"The ID of the node to duplicate"}},"required":["nodeId"],"additionalProperties":false}}} />
