mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
add help tool docs
This commit is contained in:
@@ -24,22 +24,6 @@ async def get_schema(
|
||||
tool_name: Optional[str] = None, include_examples: bool = True, include_referenced: bool = True
|
||||
) -> Dict:
|
||||
"""Get schema information about available tools.
|
||||
|
||||
Args:
|
||||
tool_name: Optional name of specific tool to get schema for
|
||||
include_examples: Whether to include usage examples
|
||||
include_referenced: Whether to include referenced model schemas
|
||||
|
||||
Returns:
|
||||
Complete tool catalog if tool_name is None,
|
||||
or specific tool schema if tool_name is provided.
|
||||
|
||||
Tool catalog includes:
|
||||
- Tool descriptions and purposes
|
||||
- Input/output schemas
|
||||
- Example usage (if include_examples=True)
|
||||
- Referenced Pydantic models (if include_referenced=True)
|
||||
- Tool categories
|
||||
"""
|
||||
# Our tool manager has the enhanced schema support
|
||||
catalog = mcp._tool_manager.get_schema_catalog()
|
||||
|
||||
Reference in New Issue
Block a user