script_run
Load and run a sandboxed Lua script on the emulation thread to automate DOS tasks that lack a dedicated MCP tool.
Instructions
Load and start a Lua script. The script runs sandboxed on the emulation thread. Any DOS automation capability without a dedicated tool is reachable through a Lua script.
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": {
"script": "<script>"
},
"name": "script_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | Lua source code to execute. |