run_script_code
Run a script file with the appropriate interpreter, passing arguments, setting the working directory, and controlling timeout.
Instructions
Run a script file with the appropriate interpreter
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": "run_script_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for script execution | . |
| args | No | Arguments to pass to the script | |
| timeout | No | Script timeout in milliseconds | |
| scriptPath | Yes | Path to the script file |