get_serp_ai_mode
Retrieve SERP AI Overview and AI Mode responses for a query in under 30 seconds. Use this tool to analyze search results, SEO data, and keyword insights efficiently.
Instructions
Get SERP with AI Overview and AI Mode response. Returns AI overview and AI mode response for the query. Less reliable than the 2-step process but returns results in under 30 seconds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | The country to search from. Default: us | us |
| query | Yes | The query to search |
Input Schema (JSON Schema)
{
"properties": {
"country": {
"default": "us",
"description": "The country to search from. Default: us",
"type": "string"
},
"query": {
"description": "The query to search",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}
Implementation Reference
- index.js:664-665 (handler)Handler implementation for 'get_serp_ai_mode' tool. It proxies the tool call to the FetchSERP API endpoint '/api/v1/serp_ai_mode' using the shared makeRequest method with GET method and tool arguments.case 'get_serp_ai_mode': return await this.makeRequest('/api/v1/serp_ai_mode', 'GET', args, null, token);
- index.js:386-404 (registration)Tool registration in the ListTools response, including name, description, and input schema definition for 'get_serp_ai_mode'.{ name: 'get_serp_ai_mode', description: 'Get SERP with AI Overview and AI Mode response. Returns AI overview and AI mode response for the query. Less reliable than the 2-step process but returns results in under 30 seconds.', inputSchema: { type: 'object', properties: { query: { type: 'string', description: 'The query to search', }, country: { type: 'string', description: 'The country to search from. Default: us', default: 'us', }, }, required: ['query'], }, },