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

iai macros update

Update a macro (creates a new version)

Synopsis

Update a macro by creating a new version with updated content.

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

No schema validation is applied — any text content is accepted.

Example

**Disclaimer:** This is not financial advice. Consult a professional.

Examples

  iai macros update disclaimer --file disclaimer.md
  iai macros update disclaimer --file disclaimer.md --labels staging,qa

Options

      --file string             Path to the file containing the updated prompt content
  -h, --help                    help for update
      --labels strings          Labels for the new prompt version (comma-separated)
  -o, --organization string     Organization name that owns the project
  -p, --project string          Project name that owns the prompts
      --schema-version string   Schema version to validate against (defaults to latest stable)
      --tags strings            Tags for the prompt (comma-separated)

Options inherited from parent commands

SEE ALSO

  • iai macros - Pre-approved response templates used in routines

Last updated

Was this helpful?