rs_write_variable
Set the initial value of a RAPID variable in an ABB robot task. Specify task, variable name, and value to update the RAPID program state.
Instructions
Set a RAPID variable initial value (SDK)
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>",
"name": "<name>",
"value": "<value>"
},
"name": "rs_write_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| name | Yes | ||
| value | Yes |