Set Environment Variable (ESV)
setVariableSet or update an environment variable (ESV) in PingOne Advanced Identity Cloud by specifying its ID, type, and value.
Instructions
Create or update an environment variable (ESV) in PingOne AIC
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": {
"variableId": "<variableId>",
"type": "<type>"
},
"name": "setVariable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The variable type. Determines how the value is interpreted. Note: Type cannot be changed after creation. Prefer 'array' over 'list'. | |
| value | No | Variable value as native type (NOT JSON string). Examples: string: 'hello', array: ['a','b'], object: {"key":"val"}, bool: true, int: 42, number: 3.14, list: 'a,b,c'. The tool handles JSON serialization internally for array/object types. | |
| variableId | Yes | Variable ID (format: esv-*) | |
| description | No | Optional description of the variable's purpose |