looks like you're just making a tool stocker but in the most complex way you can, right?
well what I do is just make the bots using the tools just craft their own and go to town
it should look like this
also keep in mind that a blank repeat will just make the bot stuck until it's condition is met to I guess make an if statement, if that helps