Create OAuth Tool Credential
lyzr_create_oauth_tool_credentialCreate an OAuth credential for a provider, defining client details, scopes, and grant type to enable authenticated tool access.
Instructions
Create an OAuth tool credential for a provider.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | OAuth scope string | |
| user_id | Yes | Owning user id | |
| client_id | No | OAuth client id | |
| tenant_id | No | Tenant id, if applicable | |
| token_url | No | OAuth token URL | |
| grant_type | No | OAuth grant type (default authorization_code) | |
| credentials | No | Additional credential payload | |
| redirect_url | No | OAuth redirect URL | |
| client_secret | No | OAuth client secret | |
| provider_uuid | Yes | Provider identifier | |
| credential_name | Yes | Name for the credential |