by cloudsway · v0.1.2
A Dify tool plugin that integrates with the remote Cloudsway intelligent search API to provide web search functionality.
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
smartsearch is an intelligent search tool for the Dify ecosystem, integrating the Cloudsway Search API to provide efficient and controllable web search capabilities for large model applications. It supports freshness filtering, full-text content extraction, and structured result output — suitable for deep content analysis, fact-checking, and multi-source information aggregation scenarios.
Note: This README describes the Dify plugin. This is NOT an MCP server and contains no MCP deployment instructions.
SERVER_KEY).info@cloudsway.ai to apply.After installing the plugin in Dify, configure the environment variable in "Plugin Settings":
SERVER_KEY=your_api_key
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
q | string | Yes | - | Search keyword or question (e.g., "Latest advances in machine learning 2024"). |
count | number | No | 10 | Number of results. Accepted values: 10, 20, 30, 40, 50. Recommended: 3-10. |
offset | number | No | 0 | Zero-based pagination offset (e.g., offset=10 starts from result #11). |
freshness | string | No | (none) | Time filter for results. Accepted values: Day, Week, Month. |
enableContent | boolean | No | false | Set to true to return a long summary (full-text content). |
contentType | string | No | TEXT | Format for the long summary: HTML, MARKDOWN, or TEXT. Requires enableContent=true. |
contentTimeout | number | No | 3 | Timeout in seconds for fetching the long summary. Requires enableContent=true. |
mainText | boolean | No | false | Set to true to return key text snippets. Requires enableContent=true. |
Notes:
q is required and cannot be empty.count is omitted, the plugin returns 10 results by default.What is Cloudsway3MonthtrueSample Output (simplified):
{
"webPages": {
"value": [
{
"name": "Cloudsway - Intelligent Search API",
"url": "https://www.cloudsway.ai/product/search",
"isFamilyFriendly": true,
"displayUrl": "https://www.cloudsway.ai/product/search",
"snippet": "Cloudsway provides a powerful intelligent search API designed for AI applications, offering stable, reliable, and secure search services.",
"datePublished": "2024-05-10T14:30:00.0000000",
"content": "Full extracted text content of the page goes here...",
"mainText": "Key snippets and main text from the page content go here..."
}
// ... more results
]
}
}
Successful response (JSON) includes these key fields:
webPages.value[]: A list of result items. Each item may include:
name: Page title.url: Full page URL.displayUrl: Display-friendly URL.snippet: Short description or excerpt from the page.datePublished: Publication date, if available.content: The full-text content of the page (if enableContent is true).mainText: Key text snippets from the page (if enableContent and mainText are true).Common HTTP status codes returned by the Cloudsway API:
SERVER_KEY is valid.q) and other search parameters entered by the user for real-time calls to the Cloudsway Search API. The plugin does not collect any personally identifiable information.This project is open-sourced under the MIT License. See LICENSE for details.
Q: Call failed?
A: Check if the SERVER_KEY is correctly configured and valid in the Cloudsway Console. Ensure required parameters (like q) are provided and not empty.
Q: Empty results?
A: Try using broader keywords for your q, or relax the freshness filter (e.g., change from Day to Month or remove it entirely).
For more support, you can submit an Issue to the GitHub repository or contact support@cloudsway.ai.