For the complete documentation index, see llms.txt. This page is also available as Markdown.

iai variables update

Update a variable (creates a new version)

Synopsis

Update a variable definition by creating a new version with updated content.

This creates a new version of the variable using the content from the provided file. The previous versions are preserved and can still be accessed by version number.

Run iai variables schema to see the current field definitions.

Example

{
  "variables": {
    "user_name": {
      "description": "The user's display name",
      "default_value": "Guest"
    },
    "is_authenticated": {
      "description": "Whether the user has completed sign-in",
      "default_value": false
    }
  }
}

Each key under variables must be unique. Add as many entries as you need — the set accepts any number of variables.

Examples

Options

Options inherited from parent commands

SEE ALSO

  • iai variables - Contextual attributes referenced in policies and routines

Last updated

Was this helpful?