Look at the tool options tool bar, it's above the drawing area.
When the polyline tool is active, you have additional items there to change between line and arc and other options.
See
https://librecad.readthedocs.io/en/latest/ref/tools.html#polylineBut sometimes it may be easier to build a contour with lines and arcs and then create a polyline from existing segments. This is the last tool in the polyline menu.
It is important, that the segment endpoints match exactly, otherwise the tool doesn't work correct.
You can use the command line for exact coordinates or use valid snap modes to achieve this.
Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution