create_environment_scope
Creates a single permission scope in a Scalekit environment; duplicate names are rejected and a caller OAuth token is required.
Instructions
Create one permission scope in an environment. Use list_environment_scopes to see scopes that already exist. This tool does not create a role. Use create_environment_role for that. Requires the caller OAuth token. A duplicate scope name is rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopeName | Yes | Permission scope name. Must be unique in that environment. | |
| description | No | Human-readable explanation of the scope. Empty when omitted. | |
| environmentId | Yes | Scalekit environment id. Format: env_<id>. |