> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended** (the `-y` flags skip prompts, so the command runs without an interactive terminal):
> ```bash
> npx -y @scalekit-inc/cli setup -y
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup -y
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for other Agent Skills-compatible agents in `~/.agents/skills`.
> Skills: integrate-agentkit, implement-saaskit, add-mcp-oauth, implement-sso, implement-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Connect AI agents to ConfigCat

The ConfigCat connector lets your AI agent work with ConfigCat. Scalekit handles authentication for every call, so your agent never handles credentials. It comes with 59 tools.

**Authentication:** Public API Credentials
**Categories:** Developer Tools
**Tools:** 59: 35 read, 17 write, 7 destructive
**Users sign in with:** Username and password
**Built by:** Scalekit connector
**Try it:** [Playground in the Scalekit dashboard](https://app.scalekit.com/ws/signup?sk_intent=playground&provider=CONFIGCAT)

## Setup

1. ### Install the SDK

   **Node.js**

   ```bash
   npm install @scalekit-sdk/node dotenv
   ```

   **Python**

   ```bash
   pip install scalekit-sdk-python python-dotenv
   ```

2. ### Set your credentials

   Add your Scalekit credentials to your `.env` file. Find values in **[app.scalekit.com](https://app.scalekit.com)** > **Developers** > **API Credentials**.

   ```sh title=".env"
   SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
   SCALEKIT_CLIENT_ID=<your-client-id>
   SCALEKIT_CLIENT_SECRET=<your-client-secret>
   ```

3. ### Create the ConfigCat connection

   In **AgentKit > Connections**, create a ConfigCat connection. The name you give it is the `connection_name` your code passes. See [Configure connections](/agentkit/connections/).

## Tools

Pass the exact name to `execute_tool`, with an input like each tool's example. To ask for a tool that's missing, use the [request form](https://scalekitsupport.portal.usepylon.com/forms/request-a-connector-tool).

**Node.js**

```typescript
const result = await actions.executeTool({
  toolName: 'configcat_config_get',
  toolInput: {
    config_id: '<config_id>',
  },
  connector: 'configcat',
  identifier: 'user_123',
})
```

**Python**

```python
result = actions.execute_tool(
    tool_name="configcat_config_get",
    tool_input={
        "config_id": "<config_id>",
    },
    connection_name="configcat",
    identifier="user_123",
)
```

`result.data` is the app's response as JSON, and `result.execution_id` (`executionId` in Node.js) is the ID of the call.

### `configcat_config_get`

Get Config · Read-only

Get one config.
Returns configId, name, description, order, evaluationVersion and product.
Use configcat_configs_list to find IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `config_id` (`string`, required): Config ID. Get it from configcat_configs_list. Example: 08d86d63-2726-47cd-8bfc-59608ecb91e2.

Example input: `{"config_id":"<config_id>"}`

### `configcat_config_values_get`

Get Config Values · Read-only

Get the values and targeting rules of every flag in a config for one environment (Config V2 format).
Returns settingValues with each flag's defaultValue, targetingRules and setting info, plus the config and environment.
Use this for an overview of an environment.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `config_id` (`string`, required): Config ID. Get it from configcat_configs_list. Example: 08d86d63-2726-47cd-8bfc-59608ecb91e2.
- `environment_id` (`string`, required): Environment ID. Get it from configcat_environments_list. Example: 08d86d63-272c-4355-8027-4b52787bc1bd.

Example input: `{"config_id":"<config_id>","environment_id":"<environment_id>"}`

### `configcat_configs_list`

List Configs · Read-only

List the configs (flag collections) in a product.
Returns each config's configId, name, description, order and evaluationVersion.
Use this to find a config ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.

Example input: `{"product_id":"<product_id>"}`

### `configcat_deleted_flags_list`

List Deleted Flags · Read-only

List the feature flags and settings that were deleted from a config.
Returns each deleted flag's settingId, key, name and settingType.
Use this to audit removals.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `config_id` (`string`, required): Config ID. Get it from configcat_configs_list. Example: 08d86d63-2726-47cd-8bfc-59608ecb91e2.

Example input: `{"config_id":"<config_id>"}`

### `configcat_environment_get`

Get Environment · Read-only

Get one environment.
Returns environmentId, name, color, description, order and product.
Use configcat_environments_list to find IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `environment_id` (`string`, required): Environment ID. Get it from configcat_environments_list. Example: 08d86d63-272c-4355-8027-4b52787bc1bd.

Example input: `{"environment_id":"<environment_id>"}`

### `configcat_environments_list`

List Environments · Read-only

List the environments (such as Development, Staging, Production) in a product.
Returns each environment's environmentId, name, color, description and order.
Use this to find an environment ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.

Example input: `{"product_id":"<product_id>"}`

### `configcat_flag_code_references_get`

Get Flag Code References · Read-only

Get where a feature flag is referenced in your code, as reported by the ConfigCat code scanner.
Returns repositories, branches, files and lines that use the flag.
Use this before deleting a flag.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `setting_id` (`integer`, required): Numeric ID of the feature flag or setting. Get it from configcat_flags_list. Example: 1234.

Example input: `{"setting_id":1234}`

### `configcat_flag_get`

Get Flag · Read-only

Get one feature flag or setting's metadata.
Returns settingId, key, name, hint, settingType, order, tags and config.
Use configcat_flag_value_get for its value in an environment.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `setting_id` (`integer`, required): Numeric ID of the feature flag or setting. Get it from configcat_flags_list. Example: 1234.

Example input: `{"setting_id":1234}`

### `configcat_flag_value_get`

Get Flag Value · Read-only

Get a flag's value and targeting rules in one environment (Config V2 format).
Returns defaultValue, targetingRules (conditions, segments, percentage options), percentageEvaluationAttribute, setting info and readOnly.
Use this before changing a value.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `environment_id` (`string`, required): Environment ID. Get it from configcat_environments_list. Example: 08d86d63-272c-4355-8027-4b52787bc1bd.
- `setting_id` (`integer`, required): Numeric ID of the feature flag or setting. Get it from configcat_flags_list. Example: 1234.

Example input: `{"environment_id":"<environment_id>","setting_id":1234}`

### `configcat_flags_by_tag_list`

List Flags by Tag · Read-only

List the feature flags and settings that carry a tag.
Returns each flag's settingId, key, name and settingType.
Use configcat_tags_list to find tag IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `tag_id` (`integer`, required): Numeric tag ID from configcat_tags_list. Example: 42.

Example input: `{"tag_id":42}`

### `configcat_flags_list`

List Flags · Read-only

List the feature flags and settings in a config.
Returns each flag's settingId, key, name, hint, settingType, order and tags.
Use this to find a setting ID or key. Use configcat_config_values_get for their values.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `config_id` (`string`, required): Config ID. Get it from configcat_configs_list. Example: 08d86d63-2726-47cd-8bfc-59608ecb91e2.

Example input: `{"config_id":"<config_id>"}`

### `configcat_integrations_list`

List Integrations · Read-only

List the third-party integrations (such as Slack, Datadog or Amplitude) set up in a product.
Returns each integration's ID, type, name, configs and environments.
Use this to see where flag changes are sent.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.

Example input: `{"product_id":"<product_id>"}`

### `configcat_me_get`

Get Current User · Read-only

Get the ConfigCat user that owns the API credentials.
Returns the user's email and full name.
Use this to check the connection works.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `configcat_organization_audit_logs_list`

List Organization Audit Log · Read-only

List audit log entries for an organization, optionally filtered by product, config, environment, type and date range.
Returns entries with who changed what, when, and the change details, paged.
Use configcat_product_audit_logs_list for one product.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `organization_id` (`string`, required): Organization ID. Get it from configcat_organizations_list. Example: 08d8bd1f-5a0b-4b8c-8c43-2c6b5a8e9f01.
- `audit_log_type` (`string`, optional): Filter Audit logs by Audit log type. Example: settingValueChanged.
- `config_id` (`string`, optional): Config ID. Get it from configcat_configs_list. Example: 08d86d63-2726-47cd-8bfc-59608ecb91e2.
- `environment_id` (`string`, optional): Environment ID. Get it from configcat_environments_list. Example: 08d86d63-272c-4355-8027-4b52787bc1bd.
- `from_utc_date_time` (`string`, optional): Filter Audit logs by starting UTC date. Example: 2026-11-01T00:00:00Z.
- `page_number` (`integer`, optional): Page number (min: 1). Defaults to 1. Example: 1.
- `page_size` (`integer`, optional): Page size (min: 1, max: 100). Defaults to 100. Example: 100.
- `product_id` (`string`, optional): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.
- `to_utc_date_time` (`string`, optional): Filter Audit logs by ending UTC date. Example: 2026-11-30T23:59:59Z.

Example input: `{"organization_id":"<organization_id>"}`

### `configcat_organization_invitations_list`

List Organization Invitations · Read-only

List pending invitations to an organization.
Returns each invitation's ID, email, product and permission group.
Use this to see who has not accepted yet.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `organization_id` (`string`, required): Organization ID. Get it from configcat_organizations_list. Example: 08d8bd1f-5a0b-4b8c-8c43-2c6b5a8e9f01.

Example input: `{"organization_id":"<organization_id>"}`

### `configcat_organization_limitations_get`

Get Organization Limits · Read-only

Get the plan limits of an organization.
Returns the maximum numbers of products, configs, environments, flags, segments and similar.
Use this before creating many resources.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `organization_id` (`string`, required): Organization ID. Get it from configcat_organizations_list. Example: 08d8bd1f-5a0b-4b8c-8c43-2c6b5a8e9f01.

Example input: `{"organization_id":"<organization_id>"}`

### `configcat_organization_members_list`

List Organization Members · Read-only

List the members of an organization with their product permissions.
Returns admins and members with userId, email, fullName, two-factor status and their permission groups per product.
Results depend on the caller's own permissions.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `organization_id` (`string`, required): Organization ID. Get it from configcat_organizations_list. Example: 08d8bd1f-5a0b-4b8c-8c43-2c6b5a8e9f01.

Example input: `{"organization_id":"<organization_id>"}`

### `configcat_organizations_list`

List Organizations · Read-only

List the ConfigCat organizations the credentials can access.
Returns each organization's organizationId and name.
Use this to find the organization ID for products, members and audit logs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `configcat_permission_group_get`

Get Permission Group · Read-only

Get one permission group with its permissions per environment.
Returns permissionGroupId, name, permission flags and environment access.
Use configcat_permission_groups_list to find IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `permission_group_id` (`integer`, required): Numeric permission group ID from configcat_permission_groups_list. Example: 15.

Example input: `{"permission_group_id":15}`

### `configcat_permission_groups_list`

List Permission Groups · Read-only

List the permission groups in a product.
Returns each group's permissionGroupId, name and the permissions it grants.
Use this to understand who can change what.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.

Example input: `{"product_id":"<product_id>"}`

### `configcat_predefined_variations_get`

Get Predefined Variations · Read-only

Get the predefined variations a flag can take.
Returns each variation's ID, value, name and hint.
Use these values when setting targeting rules.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `setting_id` (`integer`, required): Numeric ID of the feature flag or setting. Get it from configcat_flags_list. Example: 1234.

Example input: `{"setting_id":1234}`

### `configcat_product_audit_logs_list`

List Product Audit Log · Read-only

List audit log entries for one product, optionally filtered by config, environment, type and date range.
Returns entries with who changed what, when, and the change details, paged.
Use this to see recent flag changes.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.
- `audit_log_type` (`string`, optional): Filter Audit logs by Audit log type. Example: settingValueChanged.
- `config_id` (`string`, optional): Config ID. Get it from configcat_configs_list. Example: 08d86d63-2726-47cd-8bfc-59608ecb91e2.
- `environment_id` (`string`, optional): Environment ID. Get it from configcat_environments_list. Example: 08d86d63-272c-4355-8027-4b52787bc1bd.
- `from_utc_date_time` (`string`, optional): Filter Audit logs by starting UTC date. Example: 2026-11-01T00:00:00Z.
- `page_number` (`integer`, optional): Page number (min: 1). Defaults to 1. Example: 1.
- `page_size` (`integer`, optional): Page size (min: 1, max: 100). Defaults to 100. Example: 100.
- `to_utc_date_time` (`string`, optional): Filter Audit logs by ending UTC date. Example: 2026-11-30T23:59:59Z.

Example input: `{"product_id":"<product_id>"}`

### `configcat_product_get`

Get Product · Read-only

Get one ConfigCat product.
Returns the product's productId, name, description, order and organization.
Use configcat_products_list to find IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.

Example input: `{"product_id":"<product_id>"}`

### `configcat_product_invitations_list`

List Product Invitations · Read-only

List pending invitations to a product.
Returns each invitation's ID, email and permission group.
Use this to see who has not accepted yet.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.

Example input: `{"product_id":"<product_id>"}`

### `configcat_product_members_list`

List Product Members · Read-only

List the members of a product and their permission groups.
Returns userId, email, fullName and permissionGroupId for each member.
Use configcat_organization_members_list for the whole organization.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.

Example input: `{"product_id":"<product_id>"}`

### `configcat_product_preferences_get`

Get Product Preferences · Read-only

Get a product's preferences.
Returns settings such as whether config changes require a reason, key generation mode, and per-environment approval rules.
Check this before changing values: if a reason is required, pass reason to the value tools.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.

Example input: `{"product_id":"<product_id>"}`

### `configcat_products_list`

List Products · Read-only

List the ConfigCat products the credentials can access.
Returns each product's productId, name, description, order and organization.
Use this to find a product ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `configcat_sdk_keys_get`

Get SDK Keys · Read-only

Get the SDK keys an application uses to read a config in one environment.
Returns primary and secondary SDK keys.
Use this to configure a ConfigCat SDK.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `config_id` (`string`, required): Config ID. Get it from configcat_configs_list. Example: 08d86d63-2726-47cd-8bfc-59608ecb91e2.
- `environment_id` (`string`, required): Environment ID. Get it from configcat_environments_list. Example: 08d86d63-272c-4355-8027-4b52787bc1bd.

Example input: `{"config_id":"<config_id>","environment_id":"<environment_id>"}`

### `configcat_segment_get`

Get Segment · Read-only

Get one user segment with its rule.
Returns segmentId, name, description, comparisonAttribute, comparator, comparisonValue and usage.
Use configcat_segments_list to find IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `segment_id` (`string`, required): Segment ID from configcat_segments_list. Example: 08d9c4f0-1a2b-4c3d-8e4f-5a6b7c8d9e0f.

Example input: `{"segment_id":"<segment_id>"}`

### `configcat_segments_list`

List Segments · Read-only

List the user segments in a product.
Returns each segment's segmentId, name and description.
Use configcat_segment_get for a segment's rule.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.

Example input: `{"product_id":"<product_id>"}`

### `configcat_stale_flags_list`

List Stale Flags · Read-only

List zombie (stale) feature flags in a product that have not changed for a given number of days.
Returns configs with their stale flags, each with key, name, last-change date and environments.
Use this for flag cleanup.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.
- `ignored_environment_ids` (`array`, optional): Ignore environment identifiers from the report. Example: ["08d86d63-272c-4355-8027-4b52787bc1bd"]
- `ignored_tag_ids` (`array`, optional): Ignore feature flags from the report based on their tag identifiers. Example: [42]
- `scope` (`string`, optional): The scope of the report. Example: all. One of: `all`, `watchedByMe`.
- `stale_flag_age_days` (`integer`, optional): The inactivity in days after a feature flag should be considered stale. Example: 30.
- `stale_flag_stale_in_environments_type` (`string`, optional): Consider a feature flag as stale if the feature flag is stale in all/any of the environments. Example: staleInAnyEnvironments. One of: `staleInAnyEnvironments`, `staleInAllEnvironments`.

Example input: `{"product_id":"<product_id>"}`

### `configcat_tag_get`

Get Tag · Read-only

Get one tag.
Returns tagId, name, color and product.
Use configcat_tags_list to find IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `tag_id` (`integer`, required): Numeric tag ID from configcat_tags_list. Example: 42.

Example input: `{"tag_id":42}`

### `configcat_tags_list`

List Tags · Read-only

List the tags in a product.
Returns each tag's tagId, name and color.
Use this to find a tag ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.

Example input: `{"product_id":"<product_id>"}`

### `configcat_webhook_get`

Get Webhook · Read-only

Get one webhook.
Returns webhookId, url, httpMethod, content, headers (secure values hidden), config and environment.
Use configcat_webhooks_list to find IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `webhook_id` (`integer`, required): Numeric webhook ID from configcat_webhooks_list. Example: 77.

Example input: `{"webhook_id":77}`

### `configcat_webhooks_list`

List Webhooks · Read-only

List the webhooks in a product.
Returns each webhook's webhookId, url, httpMethod, content, config and environment.
Use this to find a webhook ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.

Example input: `{"product_id":"<product_id>"}`

### `configcat_config_create`

Create Config · Write

Create a config (a collection of feature flags and settings) in a product.
Returns the new config with its configId.
Then create flags in it with configcat_flag_create.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): Name of the config. Example: Main config.
- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.
- `description` (`string`, optional): Description of the config. Example: Used by the iOS and Android apps.
- `evaluation_version` (`string`, optional): Config format: v1, or v2 for Config V2 features (segments and prerequisite flags in rules). Example: v2. One of: `v1`, `v2`.
- `order` (`integer`, optional): Position on the ConfigCat dashboard (ascending). Example: 1.

Example input: `{"name":"<name>","product_id":"<product_id>"}`

### `configcat_config_update`

Update Config · Write

Update a config's name, description or order.
Returns the updated config.
Fields you leave out keep their values.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `config_id` (`string`, required): Config ID. Get it from configcat_configs_list. Example: 08d86d63-2726-47cd-8bfc-59608ecb91e2.
- `description` (`string`, optional): Description of the config. Example: Used by the iOS and Android apps.
- `name` (`string`, optional): Name of the config. Example: Main config.
- `order` (`integer`, optional): Position on the ConfigCat dashboard (ascending). Example: 1.

Example input: `{"config_id":"<config_id>"}`

### `configcat_config_values_update`

Update Config Values · Write

Update the values and targeting rules of several flags in a config and environment in one call. Each listed flag is replaced; unlisted flags are untouched.
Returns the config's updated values.
Use configcat_flag_value_replace for one flag.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `config_id` (`string`, required): Config ID. Get it from configcat_configs_list. Example: 08d86d63-2726-47cd-8bfc-59608ecb91e2.
- `environment_id` (`string`, required): Environment ID. Get it from configcat_environments_list. Example: 08d86d63-272c-4355-8027-4b52787bc1bd.
- `update_formulas` (`array`, required): One entry per flag to change, each with settingId, defaultValue and optional targetingRules and percentageEvaluationAttribute. Example: [{"settingId": 1234, "defaultValue": {"boolValue": true}}]
- `bypass_approval` (`boolean`, optional): Whether to bypass the approval process and directly apply the change. This is only applicable for users with bypass approval permission. Example: false.
- `latest_version_id` (`string`, optional): Optional. The version identifier of the last change made to the Feature Flag or Setting in the Environment. It can be used to make sure concurrent updates are not overwriting each other. If provided and the version identifier does not match the current version, the update will be rejected with a 409 Conflict response. The latest version id can be acquired from the LastVersionId property of the response models. Example: a1b2c3d4-e5f6-4789-9abc-def012345678.
- `reason` (`string`, optional): The reason note for the Audit Log if the Product's "Config changes require a reason" preference is turned on. Example: Enable for beta users.

Example input: `{"config_id":"<config_id>","environment_id":"<environment_id>","update_formulas":[{"settingId":1234,"defaultValue":{"boolValue":true}}]}`

### `configcat_environment_create`

Create Environment · Write

Create an environment in a product.
Returns the new environment with its environmentId.
Each config gets an SDK key per environment (configcat_sdk_keys_get).

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): Name of the environment. Example: Staging.
- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.
- `color` (`string`, optional): Environment color as an RGB or HTML color code. Example: #4caf50.
- `description` (`string`, optional): Description of the environment. Example: Used by the iOS and Android apps.
- `order` (`integer`, optional): Position on the ConfigCat dashboard (ascending). Example: 1.

Example input: `{"name":"<name>","product_id":"<product_id>"}`

### `configcat_environment_update`

Update Environment · Write

Update an environment's name, color, description or order.
Returns the updated environment.
Fields you leave out keep their values.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `environment_id` (`string`, required): Environment ID. Get it from configcat_environments_list. Example: 08d86d63-272c-4355-8027-4b52787bc1bd.
- `color` (`string`, optional): Environment color as an RGB or HTML color code. Example: #4caf50.
- `description` (`string`, optional): Description of the environment. Example: Used by the iOS and Android apps.
- `name` (`string`, optional): Name of the environment. Example: Staging.
- `order` (`integer`, optional): Position on the ConfigCat dashboard (ascending). Example: 1.

Example input: `{"environment_id":"<environment_id>"}`

### `configcat_flag_create`

Create Flag · Write

Create a feature flag or setting in a config, optionally with initial values per environment.
Returns the new flag with its settingId.
The key must be unique in the config and is what SDKs use.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `config_id` (`string`, required): Config ID. Get it from configcat_configs_list. Example: 08d86d63-2726-47cd-8bfc-59608ecb91e2.
- `key` (`string`, required): Key SDKs use to read it; unique within the config. Example: isAwesomeFeatureEnabled.
- `name` (`string`, required): Display name. Example: Awesome feature.
- `setting_type` (`string`, required): Value type: boolean, string, int or double. Example: boolean. One of: `boolean`, `string`, `int`, `double`.
- `hint` (`string`, optional): Short description shown on the dashboard. Example: Turns the new checkout on.
- `initial_values` (`array`, optional): Starting value per environment, each with environmentId and value. Example: [{"environmentId": "08d86d63-272c-4355-8027-4b52787bc1bd", "value": false}]
- `is_json` (`boolean`, optional): For string settings: validate values as JSON. Example: false.
- `order` (`integer`, optional): Position on the dashboard. Example: 1.
- `predefined_variations` (`array`, optional): Predefined variations the flag can take, each with value, name and hint. Example: [{"value": {"stringValue": "blue"}, "name": "Blue"}]
- `setting_id_to_init_from` (`integer`, optional): Copy values and tags from this existing setting instead of initial_values. Example: 1234.
- `tags` (`array`, optional): Tag IDs to attach. Example: [42]

Example input: `{"config_id":"<config_id>","key":"<key>","name":"<name>","setting_type":"boolean"}`

### `configcat_flag_update`

Update Flag Metadata · Write

Update a flag's name, hint, order or tags with JSON Patch operations. Values are changed with the value tools.
Returns the updated flag.
Only name, hint, order and tags can be patched.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `operations` (`array`, required): JSON Patch operations, each with op (add, remove, replace, move, copy, test), path and value. Example: [{"op": "replace", "path": "/name", "value": "New name"}]
- `setting_id` (`integer`, required): Numeric ID of the feature flag or setting. Get it from configcat_flags_list. Example: 1234.

Example input: `{"operations":[{"op":"replace","path":"/name","value":"New name"}],"setting_id":1234}`

### `configcat_flag_value_replace`

Replace Flag Value · Write

Replace a flag's default value and all its targeting rules in one environment. Anything you leave out is removed.
Returns the new value and rules.
Use configcat_flag_value_update to change just part of it, such as turning a flag on.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `default_value` (`object`, required): Served value when no rule matches: one of boolValue, stringValue, intValue or doubleValue. Example: {"boolValue": true}
- `environment_id` (`string`, required): Environment ID. Get it from configcat_environments_list. Example: 08d86d63-272c-4355-8027-4b52787bc1bd.
- `setting_id` (`integer`, required): Numeric ID of the feature flag or setting. Get it from configcat_flags_list. Example: 1234.
- `bypass_approval` (`boolean`, optional): Whether to bypass the approval process and directly apply the change. This is only applicable for users with bypass approval permission. Example: false.
- `latest_version_id` (`string`, optional): Optional. The version identifier of the last change made to the Feature Flag or Setting in the Environment. It can be used to make sure concurrent updates are not overwriting each other. If provided and the version identifier does not match the current version, the update will be rejected with a 409 Conflict response. The latest version id can be acquired from the LastVersionId property of the response models. Example: a1b2c3d4-e5f6-4789-9abc-def012345678.
- `percentage_evaluation_attribute` (`string`, optional): User attribute used for percentage rollouts. Defaults to Identifier. Example: Identifier.
- `reason` (`string`, optional): The reason note for the Audit Log if the Product's "Config changes require a reason" preference is turned on. Example: Enable for beta users.
- `targeting_rules` (`array`, optional): Targeting rules in order, each with conditions (userCondition, segmentCondition or prerequisiteFlagCondition) and a value or percentageOptions. Example: [{"conditions": [{"userCondition": {"comparisonAttribute": "Email", "comparator": "containsAnyOf", "comparisonValue": {"listValue": [{"value": "@example.com"...

Example input: `{"default_value":{"boolValue":true},"environment_id":"<environment_id>","setting_id":1234}`

### `configcat_flag_value_update`

Update Flag Value · Write

Change part of a flag's value or targeting rules in one environment with JSON Patch operations, for example to turn a flag on.
Returns the updated value and rules.
Use configcat_flag_value_get to see the current structure.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `environment_id` (`string`, required): Environment ID. Get it from configcat_environments_list. Example: 08d86d63-272c-4355-8027-4b52787bc1bd.
- `operations` (`array`, required): JSON Patch operations on the value document, each with op, path and value. Example: [{"op": "replace", "path": "/defaultValue/boolValue", "value": true}]
- `setting_id` (`integer`, required): Numeric ID of the feature flag or setting. Get it from configcat_flags_list. Example: 1234.
- `bypass_approval` (`boolean`, optional): Whether to bypass the approval process and directly apply the change. This is only applicable for users with bypass approval permission. Example: false.
- `latest_version_id` (`string`, optional): Optional. The version identifier of the last change made to the Feature Flag or Setting in the Environment. It can be used to make sure concurrent updates are not overwriting each other. If provided and the version identifier does not match the current version, the update will be rejected with a 409 Conflict response. The latest version id can be acquired from the LastVersionId property of the response models. Example: a1b2c3d4-e5f6-4789-9abc-def012345678.
- `reason` (`string`, optional): The reason note for the Audit Log if the Product's "Config changes require a reason" preference is turned on. Example: Enable for beta users.

Example input: `{"environment_id":"<environment_id>","operations":[{"op":"replace","path":"/defaultValue/boolValue","value":true}],"setting_id":1234}`

### `configcat_product_create`

Create Product · Write

Create a product in an organization. A product holds configs, environments, tags and segments.
Returns the new product with its productId.
Then create environments and configs in it.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): Name of the product. Example: Mobile app.
- `organization_id` (`string`, required): Organization ID. Get it from configcat_organizations_list. Example: 08d8bd1f-5a0b-4b8c-8c43-2c6b5a8e9f01.
- `description` (`string`, optional): Description of the product. Example: Used by the iOS and Android apps.
- `order` (`integer`, optional): Position on the ConfigCat dashboard (ascending). Example: 1.

Example input: `{"name":"<name>","organization_id":"<organization_id>"}`

### `configcat_product_update`

Update Product · Write

Update a product's name, description or order.
Returns the updated product.
Fields you leave out keep their values.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.
- `description` (`string`, optional): Description of the product. Example: Used by the iOS and Android apps.
- `name` (`string`, optional): Name of the product. Example: Mobile app.
- `order` (`integer`, optional): Position on the ConfigCat dashboard (ascending). Example: 1.

Example input: `{"product_id":"<product_id>"}`

### `configcat_segment_create`

Create Segment · Write

Create a user segment (a reusable user group defined by one attribute rule) in a product.
Returns the new segment with its segmentId.
Use it in targeting rules with a segmentCondition.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `comparator` (`string`, required): Comparison operator, for example isOneOf, contains, semVerGreater or numberEquals (see the API reference for the full list). Example: contains.
- `comparison_attribute` (`string`, required): User attribute the segment compares, such as Email or Country. Example: Email.
- `comparison_value` (`string`, required): Value to compare the attribute with; comma-separated for isOneOf. Example: @example.com.
- `name` (`string`, required): Name of the segment. Example: Beta testers.
- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.
- `description` (`string`, optional): Description of the segment. Example: Used by the iOS and Android apps.

Example input: `{"comparator":"<comparator>","comparison_attribute":"<comparison_attribute>","comparison_value":"<comparison_value>","name":"<name>","product_id":"<product_id>"}`

### `configcat_segment_update`

Update Segment · Write

Update a user segment's name, description or rule.
Returns the updated segment.
Fields you leave out keep their values.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `segment_id` (`string`, required): Segment ID from configcat_segments_list. Example: 08d9c4f0-1a2b-4c3d-8e4f-5a6b7c8d9e0f.
- `comparator` (`string`, optional): Comparison operator, for example isOneOf, contains, semVerGreater or numberEquals (see the API reference for the full list). Example: contains.
- `comparison_attribute` (`string`, optional): User attribute the segment compares, such as Email or Country. Example: Email.
- `comparison_value` (`string`, optional): Value to compare the attribute with; comma-separated for isOneOf. Example: @example.com.
- `description` (`string`, optional): Description of the segment. Example: Used by the iOS and Android apps.
- `name` (`string`, optional): Name of the segment. Example: Beta testers.

Example input: `{"segment_id":"<segment_id>"}`

### `configcat_tag_create`

Create Tag · Write

Create a tag in a product to label feature flags.
Returns the new tag with its tagId.
Attach it to flags with configcat_flag_update or configcat_flag_create.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): Name of the tag. Example: beta.
- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.
- `color` (`string`, optional): Tag color: panther, whale, salmon, lizard, canary, koala or an HTML color code. Example: whale.

Example input: `{"name":"<name>","product_id":"<product_id>"}`

### `configcat_tag_update`

Update Tag · Write

Update a tag's name or color.
Returns the updated tag.
Fields you leave out keep their values.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `tag_id` (`integer`, required): Numeric tag ID from configcat_tags_list. Example: 42.
- `color` (`string`, optional): Tag color: panther, whale, salmon, lizard, canary, koala or an HTML color code. Example: whale.
- `name` (`string`, optional): Name of the tag. Example: beta.

Example input: `{"tag_id":42}`

### `configcat_webhook_create`

Create Webhook · Write

Create a webhook that ConfigCat calls when a flag value changes in a config and environment.
Returns the new webhook with its webhookId.
Use post with content to send a message body.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `config_id` (`string`, required): Config ID. Get it from configcat_configs_list. Example: 08d86d63-2726-47cd-8bfc-59608ecb91e2.
- `environment_id` (`string`, required): Environment ID. Get it from configcat_environments_list. Example: 08d86d63-272c-4355-8027-4b52787bc1bd.
- `url` (`string`, required): URL ConfigCat calls when a value in this config and environment changes. Example: https://example.com/hooks/configcat.
- `content` (`string`, optional): Request body sent with post. Supports ConfigCat variables such as ##ConfigName##. Example: {"text": "##ConfigName## changed in ##EnvironmentName##"}
- `http_method` (`string`, optional): HTTP method. Defaults to get. Example: post. One of: `get`, `post`.
- `web_hook_headers` (`array`, optional): Extra headers, each with key, value and isSecure. Example: [{"key": "X-Token", "value": "abc", "isSecure": true}]

Example input: `{"config_id":"<config_id>","environment_id":"<environment_id>","url":"<url>"}`

### `configcat_webhook_replace`

Replace Webhook · Write

Replace a webhook's URL, method, body and headers. Anything you leave out is cleared.
Returns the updated webhook.
Send every field you want to keep.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `url` (`string`, required): URL ConfigCat calls when a value in this config and environment changes. Example: https://example.com/hooks/configcat.
- `webhook_id` (`integer`, required): Numeric webhook ID from configcat_webhooks_list. Example: 77.
- `content` (`string`, optional): Request body sent with post. Supports ConfigCat variables such as ##ConfigName##. Example: {"text": "##ConfigName## changed in ##EnvironmentName##"}
- `http_method` (`string`, optional): HTTP method. Defaults to get. Example: post. One of: `get`, `post`.
- `web_hook_headers` (`array`, optional): Extra headers, each with key, value and isSecure. Example: [{"key": "X-Token", "value": "abc", "isSecure": true}]

Example input: `{"url":"<url>","webhook_id":77}`

### `configcat_config_delete`

Delete Config · Destructive

Delete a config with all its flags. This cannot be undone.
Returns no content on success.
Use configcat_configs_list to find IDs.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `config_id` (`string`, required): Config ID. Get it from configcat_configs_list. Example: 08d86d63-2726-47cd-8bfc-59608ecb91e2.

Example input: `{"config_id":"<config_id>"}`

### `configcat_environment_delete`

Delete Environment · Destructive

Delete an environment and every flag value in it. This cannot be undone.
Returns no content on success.
Use configcat_environments_list to find IDs.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `environment_id` (`string`, required): Environment ID. Get it from configcat_environments_list. Example: 08d86d63-272c-4355-8027-4b52787bc1bd.
- `cleanup_audit_logs` (`boolean`, optional): An optional flag which indicates whether the audit log records related to the environment should be deleted or not. Example: true.

Example input: `{"environment_id":"<environment_id>"}`

### `configcat_flag_delete`

Delete Flag · Destructive

Delete a feature flag or setting from every environment. This cannot be undone.
Returns no content on success.
Check configcat_flag_code_references_get first to see where it is used.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `setting_id` (`integer`, required): Numeric ID of the feature flag or setting. Get it from configcat_flags_list. Example: 1234.

Example input: `{"setting_id":1234}`

### `configcat_product_delete`

Delete Product · Destructive

Delete a product with all its configs, environments and flags. This cannot be undone.
Returns no content on success.
Use configcat_products_list to find IDs.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `product_id` (`string`, required): Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.

Example input: `{"product_id":"<product_id>"}`

### `configcat_segment_delete`

Delete Segment · Destructive

Delete a user segment.
Returns no content on success.
A segment still used in targeting rules may not be deletable.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `segment_id` (`string`, required): Segment ID from configcat_segments_list. Example: 08d9c4f0-1a2b-4c3d-8e4f-5a6b7c8d9e0f.

Example input: `{"segment_id":"<segment_id>"}`

### `configcat_tag_delete`

Delete Tag · Destructive

Delete a tag and remove it from all flags.
Returns no content on success.
Use configcat_tags_list to find IDs.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `tag_id` (`integer`, required): Numeric tag ID from configcat_tags_list. Example: 42.

Example input: `{"tag_id":42}`

### `configcat_webhook_delete`

Delete Webhook · Destructive

Delete a webhook.
Returns no content on success.
Use configcat_webhooks_list to find IDs.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `webhook_id` (`integer`, required): Numeric webhook ID from configcat_webhooks_list. Example: 77.

Example input: `{"webhook_id":77}`

## Related

Other Developer Tools connectors ([all 200](/agentkit/connectors/?category=developer-tools)):

- [GitHub](/agentkit/connectors/github/): Scalekit connector, OAuth, 217 tools
- [Datadog](/agentkit/connectors/datadog/): Scalekit connector, API key, 105 tools
- [Linear](/agentkit/connectors/linear/): Scalekit connector, OAuth, 64 tools


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
