X Ads performance
x_ads_performanceUse this when the user asks how their X (Twitter) Ads account or campaigns are performing. Returns spend, impressions, clicks, CTR, CPC, engagements, conversions (X total conversions), cost per conversion, purchase value and ROAS for the period, the change versus the previous period, a daily trend and a per-campaign table. Read-only. The result is also displayed to the user as a visual dashboard card. Default period: last 30 days (up to 92 days); amounts are in the account's currency.
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": "x_ads_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | summary (default): headline numbers and the top 5 rows — right for a specific question or a quick look. full: every row and section — only when the user asks for a full report, a complete list or all the details. | |
| folder | No | Client folder name. | |
| account | No | X Ads account name or ID. Optional when only one is enabled. | |
| end_date | No | YYYY-MM-DD. | |
| language | No | Language of the card: the language the user is writing in. | |
| date_range | No | Preset period. Default LAST_30_DAYS. | |
| start_date | No | YYYY-MM-DD (with end_date). |