authenticate_pega
Authenticate with a Pega Infinity server using OAuth2 client credentials or a direct access token. Stores the authentication token in the session for subsequent API calls.
Instructions
Authenticate with Pega Infinity server using OAuth2 client credentials or direct access token. Stores the authentication token in session for use by other tools. This tool should be used before making API calls when you want to explicitly manage authentication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionCredentials | No | Optional session-specific credentials. If not provided, uses environment variables. Supports two authentication modes: (1) OAuth mode - provide baseUrl, clientId, and clientSecret, or (2) Token mode - provide baseUrl and accessToken. |