rws_load_module_from_file
Load a RAPID module from a controller file into a specified task via RWS, with an option to replace an existing module.
Instructions
Load a RAPID module from a file on the controller filesystem via RWS
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": {
"task": "<task>",
"filepath": "<filepath>"
},
"name": "rws_load_module_from_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Task name, e.g. 'T_ROB1' | |
| replace | No | Replace existing module (default: true) | |
| filepath | Yes | Path on controller, e.g. '$HOME/my_module.mod' |