run_javascript
Execute a specified JavaScript file in a secured sandbox with configurable arguments and timeout.
Instructions
Run an existing JavaScript file with fixed Node arguments and no shell.
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": {
"session_id": "<session_id>",
"entrypoint": "<entrypoint>"
},
"name": "run_javascript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arguments | No | ||
| entrypoint | Yes | ||
| session_id | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||