run_b2b_diagnosis
Run an AI diagnosis on a B2B lead: digital maturity, opportunities and a recommended approach. This calls the LLM and costs tokens; not read-only. Admin only.
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": "run_b2b_diagnosis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leadId | Yes | The lead ID to diagnose |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The tool result rendered as human and AI readable text or markdown. |