edit_node
Modify node details within a workflow, including type, name, position, parameters, or webhook ID, to streamline automation processes in n8n workflows.
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": {
"workflow_name": "<workflow_name>",
"node_id": "<node_id>"
},
"name": "edit_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | The ID of the node to edit | |
| node_name | No | The new name for the node | |
| node_type | No | The new type for the node (e.g., 'gmail', 'slack', 'openAi'). You can specify with or without the 'n8n-nodes-base.' prefix. The system will handle proper casing (e.g., 'openai' will be converted to 'openAi' if that's the correct casing). | |
| parameters | No | The new parameters | |
| position | No | The new position {x,y} - will be converted to [x,y] | |
| typeVersion | No | The new type version for the node | |
| webhookId | No | Optional new webhook ID for the node. | |
| workflow_name | Yes | The Name of the workflow containing the node | |
| workflow_path | No | Optional workflow path to the workflow file |