execute_api_request
Send API requests to specific endpoints using HTTP methods like GET, POST, PUT, or DELETE. Input includes path, query parameters, request body, and custom headers to interact with the Swagger MCP server.
Instructions
Execute an API request to a specific endpoint
Input Schema
Name | Required | Description | Default |
---|---|---|---|
body | No | Request body as a JSON object (for POST/PUT/PATCH) | |
headers | No | Custom headers as key-value pairs | |
method | Yes | HTTP method (GET, POST, PUT, DELETE, etc.) | |
params | No | Query parameters as key-value pairs | |
path | Yes | The endpoint path (e.g., '/users/123') |