set_environment_variable
Set environment variables for API collections to manage dynamic values across requests, with support for creating new environments if needed.
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) |