Customizing right-click context menu in Konsole

Hi all.

Does anyone know if it’s possible to add custom entries to the right-click context menu in Konsole? If so, how to do it?

I’d like to make a tree of nested command shortcuts grouped by a tool, e.g. gitbranchprune.

Thanks.