Add Google Trends data to a question
add_trends_to_questionFetches current Google Trends data—trending searches, interest over time, and related queries—and attaches it to a user's question so answers reflect what people are searching for now.
Instructions
Fetch the latest Google Trends data (trending searches, plus interest-over-time and related queries for any keywords given) and return the user's question with that data attached. Call this before answering any question that depends on what people are currently searching for, and then answer the enriched question.
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": {
"question": "<question>"
},
"name": "add_trends_to_question"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geo | No | Country or region code, e.g. US, GB, IN, PK, US-CA | US |
| keywords | No | Optional search terms from the question to look up in detail | |
| question | Yes | The user's question, verbatim | |
| timeframe | No | Google Trends time range | today 3-m |
| trending_limit | No |