save_global
Save a value to a global node in InterSystems IRIS. Use global name and optional subscripts to define the hierarchical path.
Instructions
Save a value to a global node. Use subscripts for ^g(1,"a") style paths (e.g. [1, "Prova"]). Args: ctx: The context of the tool call. global_name: The name of the global to save the value to. value: The value to save to the global. subscripts: The subscripts of the global to save the value to.
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": {
"global_name": "<global_name>",
"value": "<value>"
},
"name": "save_global"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| global_name | Yes | ||
| value | Yes | ||
| subscripts | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |