Hard drive magnets are pretty strong, so they should be able to hold many different types of tools.

Just ensure you glue them up really securely.

You could also mount them on the wall (as in thisDIY knife block).