update_global_rule
Modify plugins and attributes of existing global rules in APISIX-MCP to adjust configurations and enable or disable features as needed.
Instructions
Update specific attributes of an existing global rule
Input Schema
Name | Required | Description | Default |
---|---|---|---|
id | No | global rule ID | |
plugins | No | plugins configuration |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"id": {
"description": "global rule ID",
"type": [
"string",
"null"
]
},
"plugins": {
"anyOf": [
{
"additionalProperties": true,
"description": "plugins configuration",
"properties": {
"_meta": {
"additionalProperties": false,
"properties": {
"disable": {
"default": false,
"description": "control whether the plugin is enabled",
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
{
"type": "null"
}
],
"description": "plugins configuration"
}
},
"type": "object"
}