Someone called police at about 8:40 a.m. to say a man was climbing a crane in the 100 block of Hayes Street near San Francisco City Hall.
The man seen on the crane was detained but not arrested, spokesman Officer Robert Rueca said.
The man did not have any weapons and did not pose a threat to police.