Plugins can help Tencent Cloud Agent Development Platform (Tencent Cloud ADP) develop application expansion features, supporting developers to enrich content and enhance the practicality of platform applications.
Filling in Plugin Basic Info
Click Plugin Marketplace > Create in the left menu of Tencent Cloud Agent Development Platform.
1.1 Fill in plugin basic information
Fill in plugin basic information, including the name and upload plugin icon.
1.2 Specify Creation Method
You can create a Plugin in the following two ways:
Create based on service: Manually fill in the API's basic information, input, and output parameters.
Create based on code: Use Python custom function code to achieve API functionality.
1.3 Specify Plugin Authorization Method
According to the actual authentication requirements of the tool API, select "No authorization required" or "API Key" for the authorization mode.
2. Configuration Tool
You can import the API tool by manually adding the tool or adding yaml/json format code files.
Take manually adding a tool as an example. In the "Add Tool (API)" step, fill in the tool name, call address, etc., configure the corresponding input and output parameters for the API, and complete the configuration. Once completed, click Next.
3. Validating Plugin
After configuring the tool, proceed to the verification step. In the verification window, fill in the input parameters and perform a trial run to view the call results and test whether the plugin can be called normally. You can save the current test results as an example.
After the trial run passes, click Save to save the currently edited plugin.
Note:
The plugin can only be saved after verification passed.
Saved plugins can be viewed, edited, and exported in the plugin marketplace and used in both Single Workflow Mode and Multi-Agent Mode.