Google Calendar "CREATE" Error

I have no idea why this is happening…

My create tool in my agent is taking in the correct dateTime and then when it outputs it immediately goes to default dateTime of 00:00.

Can anyone help me work out this bug?

Input for start:

[Object: {“dateTime”: “2025-06-01T17:30:00”, “timeZone”: “America/Toronto”}]

Input for end:

[Object: {“dateTime”: “2025-06-01T18:30:00”, “timeZone”: “America/Toronto”}]

Output from calendar tool:

Notice how it changes in the output to 00:00, would appreciate your help figuring this out.

Hi there, have you tried using this format?
2025-06-01T03:15:19.805-04:00

it works for me

it also works if i use like the json datetime variable like $now()

have you try it?

I edited my function module to return it in the format you suggested.

It still is defaulting my time to 00:00 and messing up the dates.

Very confused at why this is happening.