mvar_set
Set a model variable to a value via full path, accepting scalars as strings or arrays as JSON array strings. Update model parameters directly in IC-CAP without manual editing.
Instructions
Set a Model variable value. Pass scalar values as strings and arrays as JSON array strings such as '["a","b","c"]'.
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_path": "<var_path>",
"value": "<value>"
},
"name": "mvar_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value or JSON array string | |
| var_path | Yes | Full path |