I can confirm that it doesn't work. However, I cannot tell you if that's a bug or just a limitation of the tool-keyword / AnimationPlayer. You may open an issue.
Meanwhile you can use something like this as a workaround:
var timer = Timer.new()
timer.wait_time = 0.5
timer.connect("timeout", self, "print_test")