Some tools in custom ui panel listed but aren't working.

Hello, i watched a tutorial on youtube about making custom panel and wanted to create my own with a bunch of tools i prefer to use, but some of the tools i added to my menu are blank and not working. So i’d like to fix it. Here is my masterpiece:


import bpy


class CustomMenu(bpy.types.Menu):
    bl_label = "Custom Menu"
    bl_idname = "OBJECT_MT_custom_menu"




    def draw(self, context):
        layout = self.layout




        layout.operator("mesh.separate", text="Detach selected as a new object")
        layout.operator("object.join", text="Join selected into object")
        layout.separator()
        layout.operator("mesh.knife_tool")
        layout.operator("view3d.edit_mesh_extrude_move_normal")
        layout.operator("mesh.bevel")
        layout.operator("mesh.offset_edge_loops")
        layout.operator("mesh.loopcut")
        layout.operator("mesh.inset")
        layout.separator()
        layout.operator("mesh.edge_rotate", text="Rotate edge right").use_ccw=False
        layout.operator("mesh.edge_rotate", text="Rotate edge left").use_ccw=True
        layout.separator()
        layout.label(text="Hello world!", icon='WORLD_DATA')
        # use an operator enum property to populate a sub-menu
        layout.operator_menu_enum("object.select_by_type",
                                  property="type",
                                  text="Select All by Type...",
                                  )
        # call another menu
        layout.operator("wm.call_menu", text="Unwrap").name = "VIEW3D_MT_uv_map"




def draw_item(self, context):
    layout = self.layout
    layout.menu(CustomMenu.bl_idname)








def register():
    bpy.utils.register_class(CustomMenu)




    # lets add ourselves to the main header
    bpy.types.INFO_HT_header.append(draw_item)

layout.operator(“mesh.knife_tool”)
layout.operator(“mesh.loopcut”)

These two tools which are not working. Also i’d like to know how to make Zero thickness extrude, or how to add tools with some custom parameters like divisions for Sphere, or Segments for bevel to add such presets to my menus.

I believe they only work if you add them to a panel in the 3D View area.

Well, that’s bad news than and my short journey on customizing comfy ui ends here)