get_endpoint_contract
Retrieve complete API endpoint contract details including parameters, request/response schemas, and referenced DTOs for integration and validation.
Instructions
Return full contract for one endpoint: params, request schema, response schema, and referenced DTO names.
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": {
"backendId": "<backendId>",
"path": "<path>",
"method": "<method>"
},
"name": "get_endpoint_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backendId | Yes | Required backend id from list_backends. | |
| path | Yes | Exact endpoint path from OpenAPI, e.g. /users/{id}. | |
| method | Yes | HTTP method. | |
| specUrl | No | Optional docs URL override for this call. |