query_dify_knowledge
Search and retrieve information from a Dify knowledge base using natural language queries to find relevant answers and data.
Instructions
Query Dify knowledge base with a search query
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "query_dify_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search query to find relevant knowledge | |
| top_k | No | Number of results to return (default: 3) | |
| search_method | No | Search method to use | hybrid_search |
| reranking_enable | No | Enable reranking of search results |