### `bing_search`
| Feature | Details |
|---------|---------|
| **What it does** | Executes a web search using the Bing search engine and returns a list of relevant results. |
| **When to use** | When you need up‑to‑date information from the web, verify facts, or gather references that aren’t in the local knowledge base. |
| **Typical output** | A list of dictionaries, each containing at least: `title`, `link`, `snippet`, and sometimes `date`. |
#### Parameters
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `search_query` | string | âś… | The text you want to search for. |
| `num_results` | int | ❌ (default: 5) | How many results to return. |
| `source` | string | ❌ (default: `"bing.com"`) | Optional alternate source if you have a custom endpoint. |
#### Example
```json
{
"search_query": "latest trends in renewable energy 2025",
"num_results": 3
}
```
**Result** (simplified):
```json
[
{
"title": "Top 10 Renewable Energy Trends for 2025",
"link": "https://example.com/renewable-trends-2025",
"snippet": "Discover the most promising technologies and market shifts..."
},
{
"title": "Renewable Energy Forecast 2025 – Market Report",
"link": "https://example.com/renewable-market-2025",
"snippet": "An in‑depth look at growth projections, policy changes, and investment opportunities."
},
{
"title": "How Solar Power Will Dominate 2025",
"link": "https://example.com/solar-2025",
"snippet": "Experts predict solar energy will account for X% of global power generation."
}
]
```
#### Notes
- The tool respects Bing’s usage policies and rate limits.
- Results are returned as plain JSON; you can parse titles, links, or snippets as needed.
- If you need deeper context or a specific snippet, you can chain another tool (e.g., `get_file_content`) to fetch the full article.
Let me know what you’d like to search for!