Skip to main content

sub_to_json

Function sub_to_json 

Source
fn sub_to_json(sub: &GotifySubscription) -> Value
Expand description

Readable JSON for one subscription (the tool-output shape the LLM sees), shared by the gotify__list rows and the gotify__unsubscribe echo. No team_role: both show only the caller’s own, so the field could carry just one value, and cron_to_json omits it for the same reason.