# veryfront__check_feature_gate

Check whether a plan allows a feature before offering it, for the caller or for the owner of a project; returns allowed with the required tier, limit and current count, and a denied gate is a result, not an error.

Risk: read\_only.

## Arguments

| Name                | Type    | Required | Description                                                                                                                                                                |
| ------------------- | ------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `gate`              | string  | Yes      | Provide the gate.                                                                                                                                                          |
| `current_count`     | integer |          | Current resource count for count-based gates.                                                                                                                              |
| `project_reference` | string  |          | Optional project ID or slug. When supplied for a gate other than projects, checks the project owner and requires project.read. The projects gate always checks the caller. |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__check_feature_gate",
    "arguments": {
      "gate": "<gate>"
    }
  }
}
```
