Discover goals or properties
get_site_metadataList a site's configured goal names—including goals with zero conversions—or custom property keys so you can reference the correct display_name in analytics queries.
Instructions
List configured goal names (including goals with zero conversions) or custom property keys for a site. Use a goal's display_name in a query.
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_id": "<site_id>",
"kind": "<kind>"
},
"name": "get_site_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| after | No | Next-page cursor from the preceding response. | |
| site_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| goals | No | ||
| custom_properties | No |