Api Test
api_testValidate API endpoints by sending HTTP requests with custom methods, headers, and timeouts, then checking responses against an expected status code.
Instructions
Test API endpoint with validation
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": {
"url": "<url>"
},
"name": "api_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | API endpoint URL | |
| method | No | HTTP method | GET |
| headers | No | HTTP headers | |
| timeout | No | Timeout in seconds | |
| expected_status | No | Expected HTTP status |