save_leetcode_credentials
Validates LeetCode credentials with a test API call and stores them securely for authenticated interactions.
Instructions
Validates and saves LeetCode credentials provided by the user. Validates credentials by making a test API call to LeetCode, then securely stores them for future authenticated requests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Session token from LeetCode cookies (LEETCODE_SESSION) | |
| csrftoken | Yes | CSRF token from LeetCode cookies (csrftoken) |