publish_ai_action
Publish an AI Action to make it available in your Contentful environment. Provide the AI action ID, space ID, and environment ID to deploy the action and enable AI-powered content operations.
Instructions
Publish an AI Action
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"aiActionId": "<aiActionId>",
"spaceId": "<spaceId>",
"environmentId": "<environmentId>"
},
"name": "publish_ai_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aiActionId | Yes | The ID of the AI Action to publish | |
| 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 |