generate-example
Generate an example JSON request body for a REST API endpoint by providing its HTTP method and path.
Instructions
Generate an example JSON request body for an API endpoint. Example: method="POST", path="/objects/accounts-payable/vendor"
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": {
"method": "<method>",
"path": "<path>"
},
"name": "generate-example"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | API endpoint path | |
| method | Yes | HTTP method |