pub async fn reload_config(
state: &SharedState,
args: ReloadArgs,
) -> Result<Value, ToolError>Expand description
Re-reads gateway.yaml. With the file config source, put_*/delete_*
edits are live but never written back, so a reload silently reverts them —
hence the guard: unless discard_unsaved is set, any difference between
memory and disk is reported and nothing is reloaded.