functiongraph__CreateFunctionVersion
Publishes a new Huawei Cloud FunctionGraph function version using its URN and project ID, with optional version name, description, and digest for release tracking.
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": {
"function_urn": "<function_urn>",
"project_id": "<project_id>"
},
"name": "functiongraph__CreateFunctionVersion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| digest | No | md5键值 | |
| version | No | 发布版本名称 | |
| project_id | Yes | 租户项目 ID,获取方式请参见[获取项目ID](functiongraph_06_0260.xml)。 | |
| description | No | 发布版本描述 | |
| function_urn | Yes | 函数的URN,详细解释见FunctionGraph函数模型的描述。 |