Get script source
get_script_sourceRetrieve the read-only script source of a function node by scriptPath. View the exact code for inspection or debugging.
Instructions
A function node's script source, read-only.
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": {
"scriptPath": "<scriptPath>"
},
"name": "get_script_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptPath | Yes | The node's scriptPath, as shown in the outline. |