You seem to be on the right track, you just have to added the vector's you want to the array and return that, as long as you are using the Variant:VECTOR3 built into the godot engine it should work. I will write something below that should generally be what you are looking for.
Array VoxelHideBlocksResult::_b_get_position() const {
Array vectorArray;
vectorArray.append(position.to_vec3());
return vectorArray;
}
ClassDB::bind_method(D_METHOD("get_position"), &VoxelHideBlocksResult::_b_get_position);
ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "position"), "", "get_position");
Obviously if you wanted more than just one position added to this you would have to iterate through where ever you are getting the Vector3 values from. Not sure if this position.to_vec3() returns just one Vector3 or multiple, if it does just iterate through what it has.
Array VoxelHideBlocksResult::_b_get_position() const {
Array vectorArray;
for(auto i : position.to_vec3())
{
vectorArray.append(i);
}
return vectorArray;
}
Hope this helps.