Search targets
search_targetsResolve Telegram channels, bots, queries, locations, or similar targets to IDs before ad launch or creation. Set purpose to target placements or promote URLs and return match list.
Instructions
Resolve channels, bots, search queries, locations or similar_* to IDs. Use before launch/create; never guess IDs. purpose=target (placement) or promote (URL lookup). Returns the platform match list.
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": {
"kind": "<kind>"
},
"name": "search_targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| kind | Yes | ||
| query | No | ||
| region | No | ||
| country | No | ||
| purpose | No | target |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||