This is the 2617th most frequent Japanese word.
拾い
"拾い" means "picking up" or "gathering."
Here, '拾い物をする' refers to the act of finding or picking up an item accidentally on a path or road.
道で拾い物をしました。
I found something on the road.
In this sentence, '拾い集める' extends the usage of '拾い' to mean collecting or gathering intangible items like ideas.
良いアイデアを拾い集めます。
I gather good ideas.
'拾いました' is using the verb '拾う' in its past tense form to describe the specific act of picking up a tangible item, namely a toy.