ivar_create
Creates a system variable (IVar) at the Main level in IC-CAP from just a variable name. Supply an initial value to define it for use in measurements and transforms.
Instructions
Create a system variable (IVar) at Main level. var_name is the variable name only (no path prefix).
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": {
"var_name": "<var_name>"
},
"name": "ivar_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Initial value | |
| var_name | Yes | Variable name only (no path), e.g. 'MY_VAR' |