list_campaigns
List the user's ad campaigns that Yirla can analyse, grouped by platform and ad account, so the user can pick one to analyse. Returns each campaign's name and campaign ID; pass the campaign ID (or exact name) and platform to analyze_campaign. Yirla is read-only: it never creates, edits, publishes or changes campaigns, ads, bids, budgets or creative on any ad platform. If the user asks for any of those actions, say plainly that Yirla can't do that, and offer to run an analysis instead.
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_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | Filter by platform. Omit to show all. |