generate_request_example
Generate example JSON bodies for API endpoints, revealing the expected structure from the OpenAPI schema to simplify request creation.
Instructions
Create a sample JSON body for an endpoint (if it has one).
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>",
"method": "<method>"
},
"name": "generate_request_example"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Endpoint path | |
| method | Yes | HTTP verb |