Save a funnel
create_funnelSave a funnel in the dashboard. steps: 2 to 8 items in order. A step is "page:/path" (the exact page), "page:blog" (any page that contains "blog"), "page:/docs*" (any page that starts with /docs), "goal:name" (a bare name is a goal), "not:name" (a "did not complete" step: people who did not do the goal before the next step; never the first step), or an object {"kind": "page", "value": "blog", "match": "contains"} (match: equals, contains or starts) or {"kind": "goal", "value": "upgrade", "not": true}. Names are unique per site. Check the steps first with get_funnel and steps. Pass idempotency_key so that a retry does not fail or make a duplicate.
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": {
"name": "<name>",
"steps": "<steps>"
},
"name": "create_funnel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| site | No | Site domain (example.com), id or public id (tb_…). Optional with a site key, or when the account has one site. | |
| steps | Yes | For example ["page:/pricing", "goal:signup", "goal:purchase"] or [{"kind": "page", "value": "blog", "match": "contains"}, "goal:signup"]. | |
| idempotency_key | No | A fresh UUID for this create. Send the same value when you retry the same call: the first result comes back and nothing is created twice. |