can be carb related
i once had a blocked main jet that meant the car would only run off the fuel delivered via the accelerator pump, this meant i had to continuously had to pump the throttle to keep it running (undrivable)
this could be the case with your idle channel or mixture screw, or jet even (if they use one, i'm unfamiliar with Toyota carbs)
if it is blocked it would explain why it won't idle yet will run