Get keywords
get_keywordsList Search Console queries for a website over the last 28 days with clicks, impressions, CTR and average position, plus the tracked keywords with their confirmed ranking (drops need two consecutive measurements within 3 days, rises count immediately), measured_position (latest raw measurement), unconfirmed, ads_count, own_ad_position, advertisers (domain, ad position and page_position = element number on the results page, max 5), shopping (present, own_listed, items_count), top_bid_usd (low/high top-of-page bid range), mobile_position and mobile_date (weekly mobile position), intent, competition_strength (median authority of the top 10), plus opportunities (content gap keywords from competitors). warnings: 'rankings_unavailable' when the ranking positions could not be read (position fields empty), 'ads_unavailable' when the ad data could not be read (ads_count 0, own_ad_position null, advertisers empty, shopping not present); the rest is returned.
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": {
"site_id": "<site_id>"
},
"name": "get_keywords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of queries (default 50). | |
| site_id | Yes | The site id, as returned by list_sites. |