Create a client key
create_client_keyCreate a public client key for one environment, for browser and mobile SDKs (react, react-native, ios, android, browser). It's safe in app code. Each environment needs its own. Server SDKs need a secret server key instead, which only an admin can create in the Flagbearer dashboard.
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": {
"applicationId": "<applicationId>",
"environment": "<environment>"
},
"name": "create_client_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Client key | |
| environment | Yes | ||
| applicationId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clientKey | Yes | ||
| environment | Yes |