Document register_tool method. [doc]