scrape_chat
Scrape public groups, private channels, and supergroups via an authorized MTProto account, extracting messages, media, and comments from usernames, links, invite URLs, or numeric chat IDs.
Instructions
Scrape ANY public group, private channel, or supergroup via an authorized MTProto account.
target accepts @username, t.me/link, t.me/+invite, or numeric chat ID.
Requires an authorized MTProto account (configure once with tgscrape auth add or Web UI Accounts page).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>"
},
"name": "scrape_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| target | Yes | ||
| date_to | No | ||
| topic_id | No | ||
| date_from | No | ||
| account_id | No | ||
| incremental | No | ||
| download_media | No | ||
| resume_backfill | No | ||
| include_comments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |