run_javascript
Execute JavaScript code or scripts with Node.js, supporting file paths and command line arguments.
Instructions
Execute JavaScript code or script with Node.js
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run_javascript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | JavaScript code to execute | |
| script_path | No | Path to JavaScript file | |
| args | No | Command line arguments |