variable_actions

TBD

TOOLOVERRIDE_MULTIPLE_VARIABLES

Override Multiple Variables

Overrides the values for multiple variables.

Required attributes

  • Name
    overrides
    Type
    object
    Description

    Dictionary where the key is the variable handle and the value is the new value.

Function Call

TOOL
OVERRIDE_MULTIPLE_VARIABLES
#### OVERRIDE_MULTIPLE_VARIABLES
```json
{
  "overrides": {
    "CUSTOMER_NAME": "Jane Smith",
    "ORDER_NUMBER": "12345"
  }
}
```

Response

#### Success

TOOLOVERRIDE_VARIABLE

Override Variable

Overrides the value for a variable entirely by a new one.

Required attributes

  • Name
    variable_handle
    Type
    string
    Description

    Handle of the variable to override, e.g. VARIABLE_NAME, CUSTOMER_NAME, FOO_BAR, etc.

    3 length 32

  • Name
    new_value
    Type
    string
    Description

    New value to assign to the variable. Can contain any text, including markdown.

    0 length

Function Call

TOOL
OVERRIDE_VARIABLE
#### OVERRIDE_VARIABLE
```json
{
  "new_value": "John Doe",
  "variable_handle": "CUSTOMER_NAME"
}
```

Response

#### Success

Was this page helpful?