generateCallScript
Create an AI-generated call script for a lead using the lead ID. Optionally specify an agent ID to tailor the script.
Instructions
Generate an AI call script for a lead.
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": {
"leadId": "<leadId>"
},
"name": "generateCallScript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leadId | Yes | Lead ID | |
| agentId | No | Agent ID (optional) |