/waypoints (also /waypoint, /wegpunkte, /wegpunkt, /wps) opens a small menu. Everything in it applies to the world or dimension you are in right now - you see waypoints in the Nether while in the Nether.
a dialog with name and category - only categories you may create in right now (with "used/limit"). The waypoint is placed at your position. Gray if you may not create anywhere.
All waypoints
all server waypoints here
Middle: guide
only while one is running - a click ends it
bottom: Categories · Settings · Close
Categories (only with the mod): which categories appear in Xaero; Settings: view distance and display in Xaero (see In Xaero's Minimap)
Guide in the action bar: arrow relative to where you look, distance, ▲/▼ height difference. Ends on arrival, with /waypoints stop or at the top of the start menu.
Right click on your own waypoint
Edit: rename, move to your own position, delete
bottom Category · Sorting · Search
Filters: a click switches (category: next, sorting: distance → name → newest), search via a dialog - right click resets the filter. The top middle shows what is filtered right now.