default_api_debug
Execute API requests for debugging with automatic content-type detection. Supports GET, POST, PUT, DELETE, PATCH methods, custom headers, query parameters, and flexible body formats: JSON, form data, XML, plain text.
Instructions
API debugging tool for directly executing API requests with automatic content-type detection and flexible body format support. Examples: GET /api/users with query params, POST /api/login with JSON body {"username":"admin","password":"123456"}, PUT /api/users/123 with form data "name=John&email=john@example.com"
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "default_api_debug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | API URL to execute (required) | |
| method | No | HTTP method (optional, defaults to GET) | |
| headers | No | Additional headers for the request (optional) | |
| query | No | Query parameters (optional) | |
| body | No | Request body (optional) - Supports multiple formats: JSON object, form data, XML, HTML or plain text | |
| contentType | No | Content-Type for request body (optional, will auto-detect if not specified) |