functiongraph__DeleteFunction
Deletes a specified FunctionGraph function or a specific version (the latest version cannot be deleted). Use it to remove obsolete functions or versions by providing the function URN and project ID.
Instructions
[FUNCTIONGRAPH] 删除指定的函数或者特定的版本(不允许删除latest版本)。
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__DeleteFunction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 租户项目 ID,获取方式请参见[获取项目ID](functiongraph_06_0260.xml)。 | |
| function_urn | Yes | 函数的URN,详细解释见FunctionGraph函数模型的描述。 |