Register New PrismUV Site
create_siteProvisions a new tracked PrismUV property for a domain and returns its site_id, snippet script tag, and ingestion secret. Use only for new domains; manage existing properties with list_sites.
Instructions
Create a new tracked property in PrismUV and return its site_id, snippet script tag, and ingestion secret. Use this only to provision a new domain; for existing properties, use list_sites. Requires a write token (HTTP 403 if read-only) and persists in the workspace until deleted.
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>",
"domains": "<domains>"
},
"name": "create_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable display name for the tracked property. | |
| domains | Yes | Allowed hostnames without scheme (e.g. ["example.com", "www.example.com"]). | |
| site_id | No | Optional URL-safe slug identifier; generated automatically from name when omitted. | |
| adguard_mode | No | Initial Fail-Open AdGuard invalid-traffic defense mode (default "shadow"). | shadow |
| primary_goal_event | No | Primary custom conversion event name tracked for this site (default "tool_run_success"). | tool_run_success |
| public_share_enabled | No | Whether a read-only public dashboard share link should be enabled (default false). |