validate_api_endpoint
Test an API endpoint for agent accessibility by checking response format, status codes, and documentation quality, and get a score from 0 to 100.
Instructions
Test a single API endpoint for agent accessibility.
Checks response format, status codes, documentation quality, and gives a score from 0-100.
Args: url: The API endpoint URL to test method: HTTP method (GET, POST, etc.) expected_format: Expected response format (json, xml, text)
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": "validate_api_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| method | No | GET | |
| expected_format | No | json |