set_environment_variable
Set or update environment variables for Insomnia API collections by specifying variable key, value, and description. Optionally creates a new environment if none exists.
Instructions
Set environment variables for a collection
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Variable name | |
| value | Yes | Variable value | |
| description | No | Variable description | |
| collectionId | Yes | ID collection | |
| environmentId | No | Environment ID (optional, will be created if not exists) |