protected function getToolStates()
    {
        $toolStates = $this->getRunnerService()->getToolsStates($this->getServiceContext());
        array_walk($toolStates, function (&$toolState) {
            $toolState = json_decode($toolState);
        });
        return $toolStates;
    }