Visibility trend
get_visibility_trendVisibility over time for the workspace's own brand.
Use this tool when the user asks about changes over time -- phrases like 'how has it changed', 'trending', 'are we improving', 'show the trend', or 'over the last month'. Do NOT use for the current snapshot (use get_visibility_score) or competitors (use get_competitor_comparison).
Returns one data point per period and a trend summary. A period with no AI answers has a null visibility, not 0. Max 90 days.
Example: 'How has our AI visibility changed over the last 30 days?'
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": "get_visibility_trend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days back to look, counted back from end_date (default today). Default 30, max 90. Ignored when start_date is given. Prompts are re-run on a schedule, so a window shorter than a week can be empty. | |
| end_date | No | Optional end of the window, as an ISO date (YYYY-MM-DD). Default today. Cannot be in the future. | |
| resolution | No | Length of each period. Default 'week': prompts run on a schedule, so 'day' leaves empty periods. | week |
| start_date | No | Optional explicit start of the window, as an ISO date (YYYY-MM-DD). A full ISO datetime is accepted and its date is used. Overrides days. | |
| workspace_id | Yes | The workspace's numeric id, as returned by list_workspaces. |