generateCurlExample
Generate a curl command example for a specific API endpoint with headers and a sample request body.
Instructions
Génère un exemple de commande curl pour un endpoint spécifique, incluant les headers et un corps de requête exemple.
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": "generateCurlExample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Le chemin de l'endpoint (ex: /users/{id}) | |
| method | Yes | La méthode HTTP |