create_sdk_connection
Generate an SDK connection for GrowthBook to fetch features and experiments. Specify the SDK language, environment, and name to create a client key.
Instructions
Create an SDK connection for a user. Returns an SDK clientKey that can be used to fetch features and experiments.
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>",
"language": "<language>"
},
"name": "create_sdk_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environment | No | The environment associated with the SDK connection. | |
| language | Yes | The language of the SDK. Either 'javascript' or 'typescript'. | |
| name | Yes | Name of the SDK connection in GrowthBook. Should reflect the current project. |