add get_tool_tips method in BaseHandler and use the new interface in documents