A method of connecting a first piece of a structure (7, 8, 28, 32) to an adjacent second piece of the structure (7, 8, 28, 32), the method comprising: maintaining a plurality of different fasteners; maintaining a plurality of different tools (1, 2, 3), each tool of the plurality of different tools being associated with a particular fastener of the plurality of different fasteners and being operable to fasten the particular fastener associated with the tool, each tool having a base (14, 122, 126, 142, 152, 172) of a magnetic material with the base (14, 122, 126, 142, 152, 172) having an opening (42, 132, 174) through the base (14, 122, 126, 142, 152, 172) that accommodates a portion of the tool to pass through the opening (42, 132, 174) and engage the fastener associated with the tool; determining a fastening operation to be performed on the first and second pieces of the structure (7, 8, 28, 32); determining a fastener of the plurality of different fasteners for performing the fastening operation; determining the tool of the plurality of different tools (1, 2, 3) that is associated with the fastener; maintaining a robotic system that is selectively attachable to each tool of the plurality of different tools (1, 2, 3) and is operable to move the tool to a plurality of predetermined locations relative to the first and second pieces of the structure (7, 8, 28, 32); securing the robotic system to the tool; activating the robotic system to move the tool to a location on a first side of the first and second pieces of the structure (7, 8, 28, 32); positioning an electromagnet (5, 20) on a second side of the first and second pieces of the structure (7, 8, 28, 32), opposite the first side; activating the electromagnet (5, 20) and attracting the base (14, 122, 126, 142, 152, 172) of the tool to the electromagnet (5, 20) and thereby clamping the first and second pieces of the structure (7, 8, 28, 32) between the base (14, 122, 126, 142, 152, 172) of the tool and the electromagnet (5, 20); and operating the tool to attach the fastener associated with the tool between the first and second pieces of the structure (7, 8, 28, 32). maintaining a plurality of different fasteners; maintaining a plurality of different tools (1, 2, 3), each tool of the plurality of different tools being associated with a particular fastener of the plurality of different fasteners and being operable to fasten the particular fastener associated with the tool, each tool having a base (14, 122, 126, 142, 152, 172) of a magnetic material with the base (14, 122, 126, 142, 152, 172) having an opening (42, 132, 174) through the base (14, 122, 126, 142, 152, 172) that accommodates a portion of the tool to pass through the opening (42, 132, 174) and engage the fastener associated with the tool; determining a fastening operation to be performed on the first and second pieces of the structure (7, 8, 28, 32); determining a fastener of the plurality of different fasteners for performing the fastening operation; determining the tool of the plurality of different tools (1, 2, 3) that is associated with the fastener; maintaining a robotic system that is selectively attachable to each tool of the plurality of different tools (1, 2, 3) and is operable to move the tool to a plurality of predetermined locations relative to the first and second pieces of the structure (7, 8, 28, 32); securing the robotic system to the tool; activating the robotic system to move the tool to a location on a first side of the first and second pieces of the structure (7, 8, 28, 32); positioning an electromagnet (5, 20) on a second side of the first and second pieces of the structure (7, 8, 28, 32), opposite the first side; activating the electromagnet (5, 20) and attracting the base (14, 122, 126, 142, 152, 172) of the tool to the electromagnet (5, 20) and thereby clamping the first and second pieces of the structure (7, 8, 28, 32) between the base (14, 122, 126, 142, 152, 172) of the tool and the electromagnet (5, 20); and operating the tool to attach the fastener associated with the tool between the first and second pieces of the structure (7, 8, 28, 32).