voice_ai_create_action
Create a voice AI agent action to define tasks like call transfer, data extraction, SMS, or appointment booking. Specify action type and parameters to attach to an agent.
Instructions
Create Agent Action
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": {
"agentId": "<agentId>",
"actionType": "<actionType>",
"name": "<name>",
"actionParameters": "<actionParameters>"
},
"name": "voice_ai_create_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name for this action | |
| agentId | Yes | Agent ID to attach the action to | |
| actionType | Yes | Type of action | |
| locationId | No | Location ID Defaults to GHL_LOCATION_ID when omitted. | |
| actionParameters | Yes | Action parameters - structure varies by actionType |