cse__CreatePlugin
Creates a CSE plugin on a gateway instance, defining its filter-chain phase, priority, configuration, and OCI image pull settings.
Instructions
[CSE] 创建插件。
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": {
"gateway_id": "<gateway_id>",
"project_id": "<project_id>"
},
"name": "cse__CreatePlugin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | 插件或容器的下载地址。 | |
| phase | No | 确定插件将在过滤器链中的何处注入。 | |
| sha256 | No | 用于校验插件和容器的校验和。 | |
| priority | No | 插件的调用优先级。 | |
| gateway_id | Yes | 网关实例id | |
| pluginName | No | 插件名。 | |
| project_id | Yes | 项目id | |
| pluginConfig | No | 传递给插件的配置。 | |
| imagePullPolicy | No | 拉取OCI镜像的行为 | |
| imagePullSecret | No | 拉取OCI 镜像的凭据 | |
| verificationKey | No | 校验值。 |