Domain name for API request: adp.intl.tencentcloudapi.com.
Modify a plug-in
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ModifyPlugin. |
| Version | Yes | String | Common Params. The value used for this API: 2026-05-20. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| PluginId | Yes | String | Plugin_id |
| PluginVersion | Yes | Integer | Plugin version number |
| Profile | No | PluginProfile | Plug-in basic information |
| Config | No | PluginConfig | Plug-in type configuration |
| UpdateMask | No | FieldMask | Specify the fields to update to avoid full coverage |
| ToolList.N | No | Array of Tool | Tool list of the plug-in. This parameter is not required for mcp plug-ins. |
| LoginUin | No | String | User Main Account logged in (required in integrator mode) |
| LoginSubAccountUin | No | String | User Sub-account logged in (required in integrator mode) |
| Parameter Name | Type | Description |
|---|---|---|
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: adp.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyPlugin
<Common request parameters>
{
"PluginId": "6ec78f78-23fb-49db-8e53-76921e1e3918",
"PluginVersion": 4,
"Profile": {
"Description": "Weather plug-in test",
"IconUrl": "https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/%E6%8F%92%E4%BB%B6-%E9%BB%98%E8%AE%A4.png",
"Name": "CAPI-Test-modify",
"PluginClass": 0,
"PluginKind": 2
},
"Config": {
"MCPPluginConfig": {
"MCPServerUrl": "https://******************************.com/sse",
"MCPTransport": 0,
"PluginHeader": [
{
"IsGlobalHidden": false,
"IsRequired": true,
"Name": "Authorization",
"Value": "Bearer ************************************************"
}
],
"PluginQuery": [],
"SSEReadTimeout": 300,
"Timeout": 15,
"AuthConfig": {
"AuthType": 0
}
}
},
"UpdateMask": {
"Paths": [
"Config.Timeout"
]
},
"LoginUin": "6000005624511",
"LoginSubAccountUin": "6000005624511"
}
{
"Response": {
"RequestId": "9814760b-4166-4571-bf83-856aed7ccade"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
文档反馈