update_item
Update a configuration item's value in Apollo Configuration Center. Optionally create the item if missing, requiring a creator name.
Instructions
修改配置项。createIfNotExists 为 true 时不存在则创建,此时 dataChangeCreatedBy 必填。
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": {
"appId": "<appId>",
"env": "<env>",
"clusterName": "<clusterName>",
"namespaceName": "<namespaceName>",
"key": "<key>",
"value": "<value>",
"dataChangeLastModifiedBy": "<dataChangeLastModifiedBy>"
},
"name": "update_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | ||
| env | Yes | ||
| clusterName | Yes | ||
| namespaceName | Yes | ||
| key | Yes | ||
| value | Yes | ||
| dataChangeLastModifiedBy | Yes | ||
| createIfNotExists | No | 可选 | |
| dataChangeCreatedBy | No | createIfNotExists 时必填 | |
| comment | No |