get_endpoint_details
Retrieve complete documentation for any Magento 2 REST API endpoint by providing its exact path and optional HTTP method, including parameters and schemas.
Instructions
Get complete documentation for a specific Magento 2 REST API endpoint. Provide the exact path and optionally the HTTP method to get full details including parameters, request/response schemas.
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": {
"path": "<path>"
},
"name": "get_endpoint_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The exact API path, e.g., '/V1/carts/mine' | |
| method | No | Optional HTTP method (GET, POST, PUT, DELETE). If omitted, returns all methods for this path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |