Set which key events count as leads
set_lead_eventsSaves the Analytics key events the owner said count as a lead: names from get_lead_events, or an event the site sends that Analytics has not seen yet (it is kept and flagged with what to do: make it fire once, then star it as a key event in Analytics once it shows under Recent events; leads count from then). An empty list clears the choice. Only what the owner decided: never guess which events are leads. Free.
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": {
"site": "<site>",
"events": "<events>",
"by": "<by>"
},
"name": "set_lead_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | ||
| site | Yes | ||
| events | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||