How to set presets to a plugin

Hi, I am developing a guitar multi fx processor using mod-host and mod-ui.

I need to know that how do I use the following commands .

(r"/effect/preset/load/(/[A-Za-z0-9_/]+[^/])/?“, EffectPresetLoad),
(/[A-Za-z0-9_/]+[^/])/?“, EffectPresetSaveNew),
(r”/effect/preset/save_replace/(/[A-Za-z0-9_/]+[^/])/?“, EffectPresetSaveReplace),
(/[A-Za-z0-9_/]+[^/])/?", EffectPresetDelete),

I can send Pedalboard and add remove effects commands succesfully using python .

Can anyone help me please to solve this. Thanks in advance .