gateway_generic_api
Access any AAP Gateway API endpoint with proper authentication. Use this tool to perform HTTP operations (GET, POST, PATCH, DELETE) on services, routes, users, and other Gateway resources.
Instructions
Generic Gateway API access tool. Provides direct access to any AAP Gateway API endpoint with proper authentication.
Examples:
GET /services/: method="GET", endpoint="services/"
GET /routes/1/: method="GET", endpoint="routes/1/"
POST /teams/: method="POST", endpoint="teams/", data={"name": "New Team", "organization": 1}
GET /users/: method="GET", endpoint="users/", params={"search": "admin"}
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": {
"method": "<method>",
"endpoint": "<endpoint>"
},
"name": "gateway_generic_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | HTTP method: GET, POST, PATCH, DELETE | |
| endpoint | Yes | API endpoint path (e.g., 'services/', 'routes/', 'users/1/') | |
| data | No | Request body data for POST/PATCH requests | |
| params | No | Query parameters for GET requests |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||