Domain name for API request: adp.intl.tencentcloudapi.com.
Tool call triggered by a user in the MCP App iframe.
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: CallMCPTool. |
| 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 | Capacity boundary: one request can only call the tool on this plugin |
| ThreadId | Yes | String | thread on the agent-exec side |
| ToolName | Yes | String | Tool Name, used for locating the tool_id in the configured tool_list of the plugin |
| Arguments | No | String | JSON: Original tool input parameters, passed through to the MCP Server as-is |
| Parameter Name | Type | Description |
|---|---|---|
| Result | String | JSON: The complete original CallToolResult, including structuredContent / isError / _meta |
| 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: CallMCPTool
<Common request parameters>
{
"PluginId": "418eee0b-4aa7-4aef-939b-3c48d404e846",
"ThreadId": "73251347-32c8-49a1-bea5-32a6aeb82ebc",
"ToolName": "overtime_view_state",
"Arguments": "{\"viewUUID\":\"72e8f6a9-d87f-4067-b917-b5c7de90154f\"}"
}
{
"Response": {
"Result": "{\"content\":[{\"type\":\"text\",\"text\":\"This form has not been submitted.\"}],\"structuredContent\":{\"submitted\":false}}",
"RequestId": "8540d0bc-ed10-4c72-b04a-4bd441917434"
}
}
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.
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan