processInstance_setVariable
Set a single named variable on an active process instance, overwriting any existing value, to update runtime process data on demand.
Instructions
Set a single named variable on an active process instance. Provide the variable name, value, and type. Overwrites any existing value for that variable.
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": {
"id": "<id>",
"varName": "<varName>"
},
"name": "processInstance_setVariable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| varName | Yes |