nr_get_function_code
Retrieve the full JavaScript code from a specified Node-RED function node for inspection or editing.
Instructions
Extract full JavaScript code from a Node-RED function node.
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": {
"node_id": "<node_id>"
},
"name": "nr_get_function_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |