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.
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": {
"ai_task_ns": "<ai_task_ns>"
},
"name": "cigchat_flow_update_ai_task_provider"
}
}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 |