other
Vonage CLI for Cron Jobs
Use the Vonage CLI for cron jobs with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 6 read 1 write API key auth
Vonage CLI for Cron Jobs
Schedule repeatable integration workflows from cron while keeping credentials in KosmoKrator config.
Use the headless CLI from cron when an operation should run without an interactive agent session. The Vonage CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Vonage CLI for Cron Jobs
kosmokrator integrations:configure vonage --set api_key="$VONAGE_API_KEY" --set api_secret="$VONAGE_API_SECRET" --enable --read allow --write ask --json
kosmo integrations:call vonage.vonage_get_account_balance '{}' --json Discovery Before Execution
Agents and scripts can inspect Vonage docs and schemas before choosing a function.
kosmo integrations:docs vonage --json
kosmo integrations:docs vonage.vonage_get_account_balance --json
kosmo integrations:schema vonage.vonage_get_account_balance --json
kosmo integrations:search "Vonage" --json
kosmo integrations:list --json Useful Vonage CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
vonage.vonage_get_account_balance | Read | none | Get the current balance of your Vonage account. |
vonage.vonage_list_applications | Read | page_size, page | List Vonage applications configured on your account. Applications define how Vonage handles calls and messages. |
vonage.vonage_list_messages | Read | date, to | Search and list SMS messages from your Vonage account. Requires a date in YYYY-MM-DD format. Optionally filter by recipient number. |
vonage.vonage_list_numbers | Read | pattern, search_pattern, size, index | List phone numbers purchased on your Vonage account. Optionally filter by pattern. |
vonage.vonage_send_sms | Write | from, to, text, type | Send an SMS message via Vonage. Provide sender, recipient, and message text. The recipient number must be in E.164 format (e.g., 14155552671). |
vonage.vonage_verify_check | Read | request_id, code | Check a verification code against a Vonage Verify request. Provide the request_id from the verification and the code entered by the user. |
vonage.vonage_verify_request | Read | number, brand | Send a verification code to a phone number via Vonage Verify. Returns a request_id used to check the code later. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.