Fixed inde prepare_tool function name for submit command