add-api
Add a new API to an API group in the Xano MCP Server by specifying its ID, name, description, HTTP verb, and optional tags for organization.
Instructions
Add a new API to an API group
Input Schema
Name | Required | Description | Default |
---|---|---|---|
apigroup_id | Yes | ID of the API group to add the API to | |
description | Yes | Description of the API | |
docs | No | Documentation for the API | |
name | Yes | Name of the API | |
tag | No | Tags to associate with the API | |
verb | Yes | HTTP verb for the API |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"apigroup_id": {
"description": "ID of the API group to add the API to",
"type": "string"
},
"description": {
"description": "Description of the API",
"type": "string"
},
"docs": {
"description": "Documentation for the API",
"type": "string"
},
"name": {
"description": "Name of the API",
"type": "string"
},
"tag": {
"description": "Tags to associate with the API",
"items": {
"type": "string"
},
"type": "array"
},
"verb": {
"description": "HTTP verb for the API",
"enum": [
"GET",
"POST",
"DELETE",
"PUT",
"PATCH",
"HEAD"
],
"type": "string"
}
},
"required": [
"apigroup_id",
"name",
"description",
"verb"
],
"type": "object"
}