You can get the world-space forward direction of a Camera node by getting its Z axis:
# Don't forget the minus sign. It's because Godot follows OpenGL's convention
var forward_vector = -camera_node.get_global_transform().basis.z
Then you can use this vector to move your character's root node.
Note: you can also get the X axis if you want to strafe.