List TG Targets
list_tg_targets[read] The channels and groups a Telegram account is in: tg_target_id and tg_target_uuid, type (channel | supergroup | group), title, username, members count, can_post (the account may post there), is_admin, status (ACTIVE | PASSIVE: a passive target is left out of publishing) and present (still on the account). account_id = tg_account_id (or pass account_uuid). only_postable (default) keeps the ACTIVE targets the account may post to - the ones tg_post_target_ids of create_social_post (platform tg) can name. Call sync_tg_targets first when the list is empty or old.
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": "list_tg_targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| per_page | No | ||
| account_id | No | ||
| account_uuid | No | ||
| only_postable | No |