Set who accounts speak to
set_audienceSet the market of accounts or groups: the countries they speak to, the whole world, and/or one time zone. get_best_times times each account for its market (an account's own wins over its groups'; an account in several groups gets all their countries). Use it when a workspace's accounts or groups serve different markets, e.g. one group for the US and one for Israel, or a group for everyone. clear: true removes the market, so Shager goes back to where the clicks come from.
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": {
"workspace_id": "<workspace_id>"
},
"name": "set_audience"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | true: remove the market | |
| world | No | true: everyone, worldwide (instead of countries) | |
| timezone | No | IANA zone, when one zone fits the audience | |
| countries | No | Two-letter countries, e.g. ["US","GB"] | |
| group_ids | No | Groups to set (from list_groups) | |
| channel_ids | No | Accounts to set (from list_channels) | |
| workspace_id | Yes | Workspace id from list_workspaces |