The following code removes menus, place in your theme functions.php file:
// Remove unneeded menus
function sc_remove_menus()
{
// setup the global menu variable
global $menu;
// this is an array of the menu item names we wish to remove
$restricted = array( __('Links'),__('Tools'),__('Comments'), __('Media'));
end ($menu);
while (prev($menu))
{
$value = explode(' ',$menu[key($menu)][0]);
if(in_array($value[0] != NULL?$value[0]:"" , $restricted))
{
unset($menu[key($menu)]);
}
}
}
// hook into the action that creates the menu
add_action('admin_menu', 'sc_remove_menus');
If you just want to remove just tools then change this line:
$restricted = array( __('Links'),__('Tools'),__('Comments'), __('Media'));
to:
$restricted = array(__('Tools'));
This will only remove the menu item. You can still get to tools by typing in the URL manually.