analytics_goals_list
List all goals for a specific website to retrieve their UUIDs, then use them as filters in analytics queries. Match goals by exact name for precise conversion tracking.
Instructions
List all goals for a website.
Use this before goal conversion queries when the user names a specific goal.
Match the goal by exact name in `data[].attributes.name`, then use the goal's
`id` as the `goal_uuid` filter value in `analytics_query_execute`. Do not put
`goal_uuid` in query columns when filtering to a single goal.
Args:
website_id: Website/App UUID
limit: Maximum number of rows to return (default: 10, min: 1, max: 100000)
offset: Number of rows to skip (default: 0, min: 0)
Returns:
Goals list with metadata. Each goal has `id` (UUID) and `attributes.name`.
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": {
"website_id": "<website_id>"
},
"name": "analytics_goals_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| website_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | List of goals | |
| meta | No | Metadata such as total count |