train_intents
Triggers NLU model training for a Cognigy flow. Supports full or quick retraining, with dry-run validation and asynchronous polling until completion.
Instructions
Trains the NLU model for a Cognigy.AI flow. MUTATING: This triggers model training. Use dryRun=true (default) to validate first. Training is async - this tool polls until completion or timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Training mode: 'full' for complete retraining, 'quick' for incremental updates | full |
| dryRun | No | If true (default), validates without training. Set to false to actually train. | |
| flowId | Yes | The flow ID to train intents for | |
| localeId | No | Specific locale to train. If omitted, trains all locales. | |
| timeoutMs | No | Maximum time to wait for training to complete (5-300 seconds, default 60) | |
| pollIntervalMs | No | How often to check task status (1-10 seconds, default 2) |