functiongraph__UpdateTracing
Configure or update a function's tracing settings by enabling or changing APM access keys, or disable tracing by passing empty AK/SK values.
Instructions
[FUNCTIONGRAPH] 修改函数调用链配置,开通/修改传入aksk,关闭aksk传空
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__UpdateTracing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 租户项目 ID,获取方式请参见[获取项目ID](functiongraph_06_0260.xml)。 | |
| tracing_ak | No | apm的ak | |
| tracing_sk | No | apm的sk | |
| function_urn | Yes | 函数的URN,详细解释见FunctionGraph函数模型的描述。 |