rws_load_program
Loads a RAPID program from the controller filesystem into a specified task via RWS, with options to add or replace existing code.
Instructions
Load a RAPID program from 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>",
"progpath": "<progpath>"
},
"name": "rws_load_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Task name, e.g. 'T_ROB1' | |
| loadmode | No | Load mode (default: replace) | |
| progpath | Yes | Program file path, e.g. '$HOME/myprog.pgf' |