Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.
deleteNodeTOOL
Deletes a Framer node, color style, text style, or code file.
  • For nodes: Pass the node ID to remove it from the page/component (also removes all children)
  • For color/text styles: Pass the style path (e.g., "/Primary", "/Heading xl")
  • For code files: Pass the code file ID
NEVER use this tool to change the parent of a node! Instead use updateXmlForNode to move an element to another parent, reference both the element id and the new parent id and updateXmlForNode will do the reparenting for you.
destructive
Parameters
nodeId *string
The ID of the node/style/code file to delete
Min length: 1
Request example
{ "method": "tools/call", "params": { "name": "deleteNode", "arguments": { "nodeId": "string" } } }