Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
BROWSER_TIMEOUT | No | Timeout setting for browser operations in web scraping mode | |
TELEGRAM_API_ID | No | Your Telegram API ID obtained from my.telegram.org | |
TELEGRAM_API_HASH | No | Your Telegram API hash obtained from my.telegram.org | |
TELEGRAM_DATA_PATH | No | Optional path to store session data and cookies |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
scrape_channel | Scrape a Telegram channel and return posts in markdown format. Uses authenticated session if logged in. |
scrape_channel_full | Scrape ALL posts from a Telegram channel and save to file. Uses authenticated session if logged in. Returns file location. |
scrape_group | Scrape a Telegram group and return posts in markdown format. Uses authenticated session if logged in. |
get_channel_info | Get only the channel/group information without scraping posts. Uses authenticated session if logged in. |
scrape_date_range | Scrape posts within a specific date range. Uses authenticated session if logged in. |
telegram_login | Authenticate with Telegram Web to access restricted content |
telegram_logout | Clear Telegram authentication cookies |
telegram_auth_status | Check if authenticated with Telegram |
scrape_channel_authenticated | Scrape a Telegram channel using authenticated session (can access restricted content) |
scrape_manual | Manual scraping mode: Opens browser for you to login and navigate to any channel, then scrapes it |
telegram_api_login | Login to Telegram using API credentials for fast, efficient scraping |
api_scrape_channel | Scrape a Telegram channel using the API (fast and efficient) |
api_search_channel | Search for messages within a Telegram channel |
api_get_channel_info | Get detailed information about a Telegram channel using the API |
api_logout | Disconnect from Telegram API |