Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Download competition data files
KAGGLE_COMPETITION_DOWNLOAD_FILESDownloads all data files for a Kaggle competition as a single zip archive. Returns a downloadable file object. Note: You must have accepted the competition's rules on Kaggle's website before downloading (403 error if not accepted).
Submit Competition Entry
KAGGLE_COMPETITION_SUBMITSubmit an entry to a Kaggle competition using a previously uploaded file. Prerequisites: 1. You must have accepted the competition rules on Kaggle's website 2. You must have uploaded your submission file and obtained a blob_file_tokens (use Kaggle's file upload API endpoint first) This action performs the final submission step after file upload. The blob token identifies your uploaded file and associates it with your competition submission.
Get Kaggle Config Directory
KAGGLE_CONFIG_DIRTool to retrieve the directory of the Kaggle API configuration file. Use when you need to locate the directory containing your kaggle.json credentials.
Initialize Kaggle Configuration
KAGGLE_CONFIG_INITInitialize local Kaggle client configuration using the CLI or, if it fails, a kaggle.json fallback in the configured or default directory. The fallback leaves an existing file unchanged and may create a file with empty credentials.
List Kaggle Configuration Keys
KAGGLE_CONFIG_KEYSTool to list local Kaggle API configuration keys. Use when you need to see which configuration options are set without revealing values.
Get Kaggle Config Path
KAGGLE_CONFIG_PATHTool to retrieve local Kaggle API configuration file path. Use when you need to know the location of the Kaggle config before operations.
Reset Kaggle Configuration
KAGGLE_CONFIG_RESETReset local Kaggle CLI configuration by clearing the competition, path, and proxy settings. An invalid local configuration file may be replaced, losing other settings and credentials.
Set Kaggle Configuration
KAGGLE_CONFIG_SETSet a local Kaggle CLI configuration parameter to a supplied value. The supported parameters are competition, path, and proxy. An invalid local configuration file may be replaced, losing other settings and credentials.
Unset Kaggle Configuration
KAGGLE_CONFIG_UNSETUnset a local Kaggle CLI configuration parameter: competition, path, or proxy. An invalid local configuration file may be replaced, losing other settings and credentials.
View Kaggle Configuration
KAGGLE_CONFIG_VIEWView local Kaggle API credentials and configuration settings. This action reads Kaggle configuration from local sources (does NOT make API calls to Kaggle). Configuration is retrieved in the following precedence order: 1. kaggle.json file (from KAGGLE_CONFIG_DIR env var, ~/.config/kaggle/, or ~/.kaggle/) 2. 'kaggle config view' CLI output (for proxy/path settings) 3. Environment variables (KAGGLE_USERNAME, KAGGLE_KEY) 4. Authorization header from metadata Use this action to: - Verify Kaggle credentials are configured before making API calls - Check current proxy settings - Debug authentication issues Returns empty strings for username/key if no credentials are found; use KAGGLE_CONFIG_INIT to set up credentials first. Note: username and key are independent — an empty username field does not indicate missing or invalid credentials. WARNING: This action returns sensitive API key data in plain text.
Dataset Create
KAGGLE_DATASET_CREATECreate a new Kaggle dataset with metadata. IMPORTANT: Dataset creation requires at least one data file. Ensure files are uploaded before calling this action. The 'id' field must use your authenticated Kaggle username as the owner. Returns the creation status and any message from the Kaggle API.
Kaggle Dataset Init
KAGGLE_DATASET_INITTool to initialize a dataset-metadata.json file in a local folder. Use when preparing a dataset folder before uploading to Kaggle.
List Kaggle Dataset Files
KAGGLE_DATASET_LIST_FILESTool to list files in a Kaggle dataset. Use when you need to retrieve paginated file listings by owner and dataset slugs, with optional version and paging controls.
Get Dataset Status
KAGGLE_DATASET_STATUSCheck the processing status of a Kaggle dataset after creation or version update. This endpoint is used to monitor datasets that are currently being processed by Kaggle's servers. It returns status information for datasets that are actively uploading, processing, or experiencing errors. For already-published datasets, this endpoint typically returns 404 (Not Found), which is expected behavior. Use this tool immediately after creating a new dataset (KAGGLE_DATASET_CREATE) or updating an existing dataset version (KAGGLE_DATASET_VERSION) to check when the dataset becomes ready. Poll this endpoint periodically until the status indicates completion or error.
Create Dataset Version
KAGGLE_DATASET_VERSIONCreate a new version of an existing Kaggle dataset using previously uploaded files and version notes, optionally deleting all previous versions. API errors are returned in the result.
Download competition file
KAGGLE_DOWNLOAD_COMPETITION_FILETool to download a specific data file from a Kaggle competition. Use when you need to retrieve a single file from a competition by specifying the competition slug and filename. Note: You must have accepted the competition's rules on Kaggle's website before downloading.
Download competition leaderboard
KAGGLE_DOWNLOAD_COMPETITION_LEADERBOARDTool to download the entire competition leaderboard as a CSV file packaged in a ZIP archive. Use when you need to analyze or review competition standings and scores.
Download Kaggle Dataset
KAGGLE_DOWNLOAD_DATASETTool to download all files from a Kaggle dataset as a zip archive. Supports downloading specific versions by providing the dataset_version_number parameter.
Download Kaggle Dataset File
KAGGLE_DOWNLOAD_DATASET_FILETool to download a specific file from a Kaggle dataset. Use when you need to retrieve a single file from a dataset by specifying the owner, dataset, and filename.
Generate Competition Submission URL
KAGGLE_GENERATE_COMPETITION_SUBMISSION_URLTool to generate a pre-signed URL for uploading competition submission files. Use this before uploading your submission file to Kaggle. This action generates a temporary upload URL and token for submitting to a competition. You must provide the competition ID, file size, and last modified timestamp. After obtaining the URL, upload your submission file to the createUrl, then use the token to finalize the submission.