Create Site
rybbit_create_siteCreate a new Rybbit site for a website or mobile app, assigning it to an organization and returning the numeric siteId plus stringId for use in other analytics tools.
Instructions
Create a new site in Rybbit. Use type 'web' for websites (domain like 'example.com') or type 'mobile' for mobile apps (package name like 'com.example.app'). 'app' is accepted as a legacy alias for 'mobile'. Returns the numeric siteId (the one every other tool and rybbit_get_site_id use) and stringId, an opaque alias of the same site.
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": {
"domain": "<domain>",
"organizationId": "<organizationId>"
},
"name": "rybbit_create_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name for the site (defaults to domain) | |
| type | No | Site type: 'web' for websites (default), 'mobile' for mobile apps. 'app' is a legacy alias mapped to 'mobile'. | |
| domain | Yes | Domain of the site (e.g. 'example.com') or package name for mobile apps (e.g. 'com.example.app') | |
| organizationId | Yes | Organization ID to add the site to. Use rybbit_list_sites to find organization IDs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| note | No | Caveat about this response, e.g. how many rows were returned and how to get the rest | |
| domain | No | ||
| siteId | No | Numeric site ID, the value rybbit_list_sites and rybbit_get_site_id report | |
| message | No | ||
| stringId | No | Opaque string ID of the same site; accepted wherever siteId is | |
| truncated | No | True when rows were dropped to keep the response under the size cap | |
| organizationId | No |