Raw Kong Admin API request
kong_requestMake arbitrary requests to any Kong Admin API endpoint for operations not covered by standard CRUD tools, such as nested relations, RBAC, or declarative config.
Instructions
Make an arbitrary request to any Kong Admin API endpoint. Use this for anything the CRUD tools don't cover: nested relations, RBAC, keyring, schemas, /status, /config (DB-less), bulk operations, etc. Examples: GET /status, GET /schemas/plugins/rate-limiting, POST /config (declarative), GET /services//routes.
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>",
"path": "<path>"
},
"name": "kong_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (JSON) for POST/PUT/PATCH. | |
| path | Yes | Admin API path, e.g. '/services' or 'services/<id>/plugins'. | |
| query | No | Query string parameters as an object. | |
| method | Yes | HTTP method. | |
| workspace | No | EE workspace to scope this request to. Overrides the configured default workspace. Leave empty for OSS or the 'default' workspace. |