class NotionMCPToolkit(BaseToolkit):
None
)def __init__(self, timeout: Optional[float] = None):
None
)def get_tools(self):
def _build_notion_tool_schema(self, mcp_tool, original_build_schema):
def _fix_notion_schema_recursively(self, obj: Any):
def _fix_dict_schema(self, obj: Dict[str, Any]):
def _fix_missing_type_with_properties(self, obj: Dict[str, Any]):
def _fix_object_with_properties(self, obj: Dict[str, Any]):
def _get_required_properties(self, properties: Dict[str, Any], conservative: bool = False):
def _is_property_required(self, prop_schema: Dict[str, Any]):
def _process_nested_structures(self, obj: Dict[str, Any]):