APISIX-MCP

Official
by api7

create_or_update_proto

Generate or modify a proto file by providing its content and ID. Ensures existing protos are updated automatically within the APISIX-MCP server.

Instructions

Create a proto, if the proto already exists, it will be updated

Input Schema

NameRequiredDescriptionDefault
idNoproto id
protoYes

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" }
ID: s62o271u37