vonage_code_generator
Generates a complete, runnable code snippet in a specified programming language for a given Vonage API task. This is the preferred tool when the user explicitly asks for a 'code snippet,' 'example,' or 'code in a specific language' like Node.js, Python, or cURL.
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": {
"query": "<query>"
},
"name": "vonage_code_generator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | A clear and concise description of the task for which the code snippet is needed (e.g., 'send an SMS', 'make a voice call'). |