get_endpoint_examples
Fetch request and response examples for a specific API endpoint by specifying the API ID, HTTP method, and endpoint path.
Instructions
Get request and response examples for a specific API endpoint
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": {
"api_id": "<api_id>",
"method": "<method>",
"path": "<path>"
},
"name": "get_endpoint_examples"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_id | Yes | API identifier (e.g., "googleapis.com:admin", "github.com") | |
| method | Yes | HTTP method (GET, POST, PUT, PATCH, DELETE, etc.) | |
| path | Yes | API endpoint path (e.g., "/users/{id}", "/posts") |