qwen_agent/mcp/tools/semantic_search_tools.json
2025-10-22 00:45:32 +08:00

38 lines
1.3 KiB
JSON

[
{
"name": "semantic_search",
"description": "**Core Function**: Perform semantic-level retrieval on document.txt based on input content, enabling discovery of content semantically similar to keywords within document.txt.\n\n**Applicable Scenarios**: Semantic retrieval of text content, previewing data structure, gaining data insights from text content.\n\n**Limitations**: Poor performance for numeric content searches (weight, price, length, quantity, etc.), recommended to use `multi_keyword-search` instead.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query text"
},
"embeddings_file": {
"type": "string",
"description": "Path to embeddings pickle file"
},
"top_k": {
"type": "integer",
"description": "Maximum number of results to return, default 50",
"default": 50
}
},
"required": [
"query",
"embeddings_file"
]
}
},
{
"name": "get_model_info",
"description": "Get current model information including model path, loading status, etc.",
"inputSchema": {
"type": "object",
"properties": {},
"required": []
}
}
]