Switch connection profile
servicenow_use_instanceSwitch the active ServiceNow connection profile and clear all identity-scoped caches. This ensures subsequent API calls use the selected instance.
Instructions
Switch the active ServiceNow connection profile (persisted to the env file). All identity-scoped caches (OAuth tokens, schema, plugin availability) are cleared.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Profile to activate, e.g. 'default' or 'dev'. | |
| instance | No | Connection profile to use for this call (default: the active profile). See servicenow_list_instances. |