extracted java agent tool