create_ai_action
Create an AI action in Contentful by defining a customizable prompt template with variables, selecting a model type and temperature, and specifying the target space and environment.
Instructions
Create a new AI Action
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |