run_scan
Start a leads discovery scan (whatsapp, instagram, x, telegram, or jiji). Discovery params for x/instagram/facebook/tiktok accept max_post_age_days (1-365; omit = no age limit) and post_age_relax_steps (0-4, default 3) to cap how old a source post may be before its engagers are collected; the window widens within a run only.
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": {
"agent_id": "<agent_id>",
"channel": "<channel>"
},
"name": "run_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| channel | Yes | ||
| agent_id | Yes |