rws_write_module
Writes RAPID module text to an ABB controller via RWS with automatic mastership, validating syntax before upload to prevent invalid code from reaching the controller.
Instructions
Write RAPID module text via RWS (auto-mastership). Validates RAPID syntax before upload.
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>",
"module": "<module>",
"code": "<code>"
},
"name": "rws_write_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| task | Yes | ||
| module | Yes | ||
| skipValidation | No | Skip RAPID syntax validation (default: false) |