cigchat_flow_update_ai_task_provider
Set the AI provider and model for a specific flow task by providing its namespace or name, overriding defaults with optional max tokens and model.
Instructions
update Ai Task provider and model, available ai_provider: openai, deepseek, xai, claude, gemini, groq, ainvented [POST /flow/update-ai-task-provider] Requires the "Manage Flow" scope on the token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ai_model | No | Example: gpt-4o-mini | |
| ai_task_ns | Yes | Accepts either the ai_task namespace id or the ai_task's exact name — the server resolves names automatically. Example: f123at456 | |
| max_tokens | No | Example: 500 | |
| ai_provider | No | One of: openai, deepseek, xai, claude, gemini, groq, ainvented. Example: openai |