create_site_script
Add custom JavaScript or CSS snippets to a Thinkific site by specifying injection location and enabling functionality.
Instructions
Create a new site script (custom JS/CSS snippet).
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>",
"content": "<content>",
"location": "<location>"
},
"name": "create_site_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Script name | |
| content | Yes | Script content (JavaScript or CSS) | |
| location | Yes | Where to inject the script: head or body | |
| enabled | No | Whether the script is enabled. Default: true |