[PR #5186] feat(Tools): Add Serply Web/Job/Scholar/News Search tool for more options #24813

Closed
opened 2026-02-21 20:23:43 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/5186

State: closed
Merged: Yes


Description

Adding additional tools for searching the web. It supports more options such as country, language. Also adds searching scholar, jobs, and news.

Fixes https://github.com/langgenius/dify/issues/5121

Type of Change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  1. Get free Serply.io account and grab API Key.
  2. Start Dify locally
  3. Set the API Key in WebSearch tool
    image
    image
    image
  4. Add the tools to be used with agents
    image
  5. Verified that the tool are being used

image

Suggested Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
  • optional I have made corresponding changes to the documentation
  • optional I have added tests that prove my fix is effective or that my feature works
  • optional New and existing unit tests pass locally with my changes

Suggested Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
  • optional I have made corresponding changes to the documentation
  • optional I have added tests that prove my fix is effective or that my feature works
  • optional New and existing unit tests pass locally with my changes
**Original Pull Request:** https://github.com/langgenius/dify/pull/5186 **State:** closed **Merged:** Yes --- # Description Adding additional tools for searching the web. It supports more options such as country, language. Also adds searching scholar, jobs, and news. Fixes https://github.com/langgenius/dify/issues/5121 ## Type of Change Please delete options that are not relevant. - [X] New feature (non-breaking change which adds functionality) # How Has This Been Tested? 1. Get free [Serply.io](https://serply.io/) account and grab API Key. 2. Start Dify locally 3. Set the API Key in WebSearch tool ![image](https://github.com/langgenius/dify/assets/59339358/4383aa3f-e5e7-4a60-b4f3-24a85e42732c) ![image](https://github.com/langgenius/dify/assets/59339358/b56ff498-06a6-4b8a-8d4e-6db5a8ed516f) ![image](https://github.com/langgenius/dify/assets/59339358/03e77551-325c-49d6-9090-2fb6ccdb775c) 4. Add the tools to be used with agents ![image](https://github.com/langgenius/dify/assets/59339358/b14233c2-cd59-491d-be35-3015be675605) 5. Verified that the tool are being used ![image](https://github.com/langgenius/dify/assets/59339358/2a3cdc12-fa15-4656-9c57-ac3b2fa24ec1) # Suggested Checklist: - [X] I have performed a self-review of my own code - [X] I have commented my code, particularly in hard-to-understand areas - [X] My changes generate no new warnings - [X] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods - [ ] `optional` I have made corresponding changes to the documentation - [ ] `optional` I have added tests that prove my fix is effective or that my feature works - [ ] `optional` New and existing unit tests pass locally with my changes # Suggested Checklist: - [X] I have performed a self-review of my own code - [X] I have commented my code, particularly in hard-to-understand areas - [X] My changes generate no new warnings - [X] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods - [ ] `optional` I have made corresponding changes to the documentation - [ ] `optional` I have added tests that prove my fix is effective or that my feature works - [ ] `optional` New and existing unit tests pass locally with my changes
yindo added the pull-request label 2026-02-21 20:23:43 -05:00
yindo closed this issue 2026-02-21 20:23:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#24813