Search engines and web discovery tools
const results = await services.web.search({ query: "best CRM software 2024", }); results.results.forEach((result) => { console.log(result.title); console.log(result.link); console.log(result.snippet); });
const results = await services.web.search({ query: "pricing", domain: "stripe.com", });
const results = await services.web.search({ query: "Microsoft", }); if (results.knowledgeGraph) { console.log(results.knowledgeGraph.title); console.log(results.knowledgeGraph.description); console.log(results.knowledgeGraph.website); }