functiongraph__UpdateWorkFlow
Update a Huawei Cloud FunctionGraph workflow's metadata and configuration, including name, description, states, functions, retries, triggers, constants, and execution mode.
Instructions
[FUNCTIONGRAPH] 修改指定函数流实例的元数据
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": {
"constants": "<constants>",
"functions": "<functions>",
"name": "<name>",
"project_id": "<project_id>",
"retries": "<retries>",
"start": "<start>",
"states": "<states>",
"workflow_id": "<workflow_id>"
},
"name": "functiongraph__UpdateWorkFlow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 函数流模式,当前支持两种模式 | NORMAL |
| name | Yes | 函数流名称 | |
| start | Yes | 流程开始节点ID | |
| states | Yes | 函数流节点清单,定义参考SleepState和OperationState | |
| retries | Yes | 重试策略清单 | |
| triggers | No | 触发器列表 | |
| constants | Yes | 函数流中的常量 | |
| functions | Yes | 函数列表 | |
| project_id | Yes | 项目ID。 | |
| description | No | 函数流描述 | |
| workflow_id | Yes | 函数工作流ID | |
| express_config | No | 快速函数流模式配置,当mode为EXPRESS时需要设置 | |
| enterprise_project_id | No | 企业项目ID | |
| enable_stream_response | No | 是否返回流数据 |