What do I do after using submitToolOutputs to send data back to the run

So basically we have two things here

  1. if status is complete
  2. if we need to do require action

Second point is after implementing all code and add the submitToolOutputs function you dont need to worry about the response because after the response will done from submitToolOutputs and status is complete then it will goto the status complete if and then the response will show.


here you can check make sure too add set interval so that the function will loop until we will find the status equal to complete