Create project
create_projectUse when a site is not a project yet and needs tracking. Returns the project, snippet, and an API example. Idempotent if the name exists. The snippet sets data-track-vitals="true" so page_view collects Core Web Vitals.
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>"
},
"name": "create_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Project name (letters, numbers, hyphens, dots, max 64 chars) | |
| allowed_origins | No | Allowed CORS origins, defaults to * |