run_javascript
Execute JavaScript code or scripts using Node.js to run programs, test functionality, or process data directly within development workflows.
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 |