web_search
Search the web for information using queries to gather data for open-source intelligence research and security analysis.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query | |
| limit | No | Number of results to return |
Implementation Reference
- src/index.ts:755-767 (handler)The implementation of the 'web_search' tool using the exaClient.
server.tool( "web_search", { query: z.string().describe("Search query"), limit: z.number().optional().default(5).describe("Number of results to return"), }, async ({ query, limit }) => { const result = await exaClient.search(query, limit); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; } );