update_ai_action
Update an existing AI Action in Contentful by modifying its name, description, instruction template with variables, model configuration, and test cases within a specified space and environment.
Instructions
Update an existing AI Action
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aiActionId | Yes | The ID of the AI Action to update | |
| name | Yes | The name of the AI Action | |
| description | Yes | The description of the AI Action | |
| instruction | Yes | The instruction object containing the template and variables | |
| configuration | Yes | The model configuration | |
| testCases | No | Optional array of test cases for the AI Action | |
| spaceId | Yes | The ID of the Contentful space. This must be the space's ID, not its name, ask for this ID if it's unclear. | |
| environmentId | Yes | The ID of the environment within the space, by default this will be called Master | master |