create_or_update_proto
Generate or modify protocol configurations (protos) on the APISIX-MCP server, ensuring up-to-date content for seamless integration with large language models (LLMs) and the APISIX Admin API.
Instructions
Create a proto, if the proto already exists, it will be updated
Input Schema
Name | Required | Description | Default |
---|---|---|---|
id | No | proto id | |
proto | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"id": {
"description": "proto id",
"type": "string"
},
"proto": {
"additionalProperties": false,
"properties": {
"content": {
"description": "proto content",
"type": "string"
}
},
"required": [
"content"
],
"type": "object"
}
},
"required": [
"proto"
],
"type": "object"
}