Files
Liti-agent-Development/List_MCP_Tools.txt
T

73 lines
2.8 KiB
Plaintext

# List of MCP Tools
## MCP Tools for Weaviate Database
- list_collections() -> List[str]:
"""List all collections in the Weaviate instance."""
- list_tenants(collection_name: str) -> List[str]:
"""List all tenants in a specific collection."""
- def search_hybrid(
collection_name: str,
query: Optional[str] = None,
alpha: Optional[float] = None,
vector: Any = None,
query_properties: Any = None,
fusion_type: Optional[str] = None,
limit: Optional[int] = None,
offset: Optional[int] = None,
bm25_operator: Optional[str] = None,
bm25_minimum_match: Optional[int] = None,
auto_limit: Optional[int] = None,
filters: Optional[str] = None,
group_by: Optional[str] = None,
rerank_query: Optional[str] = None,
rerank_property: Optional[str] = None,
target_vector: Optional[str] = None,
include_vector: bool = False,
tenant: Optional[str] = None
) -> List[dict]:
"""Perform a hybrid search on a collection."""
- search_bm25(collection_name: str, query: str, limit: int = 10, tenant: Optional[str] = None) -> List[dict]:
"""Perform a BM25 (keyword) search on a collection."""
## MCP Tools for local documents
- read_doc(doc_name: str) -> str:
"""Read content from a document in the localdocs directory."""
- read_binary_doc(doc_name: str) -> str:
"""Read a binary file (PDF, image, etc.) from the localdocs directory as base64."""
- list_docs(pattern: str = "*", path: str = "", recursive: bool = False) -> str:
"""List all documents in the localdocs directory."""
- write_file(path: str, content: str, overwrite: bool = True) -> str:
"""Write content to a file in the localdocs directory."""
- list_folders(path: str = "", recursive: bool = False) -> str:
"""List all folders in the localdocs directory."""
- create_folder(path: str) -> str:
"""Create a new folder in the localdocs directory."""
- delete_folder(path: str, force: bool = False) -> str:
"""Delete a folder from the localdocs directory."""
- move_item(source: str, destination: str) -> str:
"""Move or rename a file or folder within the localdocs directory."""
- copy_item(source: str, destination: str) -> str:
"""Copy a file or folder within the localdocs directory."""
- delete_file(path: str) -> str:
"""Delete a file from the localdocs directory."""
## MCP Tools for redis
- read_file(path: str) -> str:
"""Read content from a file stored in Redis."""
- read_doc(path: str) -> str:
"""Read document content from Redis (alias for read_file)."""
- write_file(path: str, content: str, overwrite: bool = True) -> str:
"""Write content to a file in Redis."""
- list_files(pattern: str = "*") -> str:
"""List all files stored in Redis."""
- delete_file(path: str) -> str:
"""Delete a file from Redis."""