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

iai routines update

Update a routine (creates a new version)

Synopsis

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

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

Run iai routines schema to see the current field definitions.

Example

# routine.yaml
title: My Routine
conditions: When user needs help
description: Handles user support requests
steps:
  - id: greet
    description: Welcome the user
    chat_state: Say hello
  - id: lookup
    source: greet
    tools: crm:get_user
    tool_instruction: Fetch user data

Examples

Options

Options inherited from parent commands

SEE ALSO

Last updated

Was this helpful?