functiongraph__ListFunctionAsMetric
Lists Huawei Cloud FunctionGraph functions ranked by a selected metric, such as failure count, within a project and time range so you can identify high-activity or failing functions.
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": {
"project_id": "<project_id>"
},
"name": "functiongraph__ListFunctionAsMetric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | 指标类型,默认值为failcount。 | |
| limit | No | 指标类型,默认值为failcount。 | |
| end_time | No | 结束时间。 | |
| project_id | Yes | 租户项目 ID,获取方式请参见[获取项目ID](functiongraph_06_0260.xml)。 | |
| start_time | No | 起始时间。 |