how zeek passing parameters to custom events

I have some questions about custom events.

I found that someone defined custom event in his zeek script. like that:
global myevent: event(ts: time, id: string, context: table[string] of any);

but i never seen how he pass parameters to myevent.

i want to known how zeek worked with that

Take a look here:

https://docs.zeek.org/en/current/script-reference/types.html#type-event

Best,
Christian