telegram_sync
Collect and structure recent Telegram messages into a local database for analysis. Use when the background sync daemon is not running; otherwise, it reports database freshness.
Instructions
최근 N분간의 텔레그램 메시지를 수집·구조화해 로컬 DB에 저장합니다.
평소엔 백그라운드 수집 데몬이 DB를 채우므로 수동 호출은 보통 불필요합니다. 데몬이 가동 중이면 그쪽이 텔레그램 세션을 소유하므로(동시 접속 시 충돌) 직접 sync는 건너뛰고 DB 신선도만 보고합니다. 데몬이 없을 때만 직접 1회 수집합니다.
Args: minutes: 수집 대상 시간 범위(분). 기본 60. per_channel_limit: 채널당 최대 조회 메시지 수. 기본 500.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "telegram_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minutes | No | ||
| per_channel_limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |