propose_new_endpoint
Generate endpoint and DTO proposals by analyzing patterns in existing OpenAPI specifications to maintain consistency across API design.
Instructions
Create a best-effort endpoint + DTO proposal aligned with deterministic patterns found in the current OpenAPI spec.
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>",
"resource": "<resource>",
"action": "<action>"
},
"name": "propose_new_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backendId | Yes | Required backend id from list_backends. | |
| resource | Yes | Business resource name, e.g. pet, order, invoice. | |
| action | Yes | Endpoint action pattern. | |
| customActionName | No | Required when action=custom. | |
| includePagination | No | Add page/size params for list action. | |
| specUrl | No | Optional docs URL override for this call. |