Reload Profiles Tool
reload_profiles_toolRe-reads and applies profile config changes without restarting the gateway, validating the file first and updating live settings while preserving current config on errors.
Instructions
Re-read profiles.yaml and apply it without restarting the gateway.
Use after editing the gateway profile config — an edit on disk has no effect until this runs, because the router filters from the profiles it loaded at startup. Validates the whole file first: if it does not parse, the running config is kept and the error is returned.
Applies live: backends, tools_allow/tools_deny, parameter guards, defense settings, per-profile llm_keys, bearer tokens, and session limits. Needs a restart: the llm_providers and matrix sections, and adding an alert or matrix ingress where no route was registered at startup — the result names any of those it saw.
Scoped to the calling profile: the whole file is validated, then your own section is put into force and your own diff returned. Other profiles keep serving what they were serving. An operator profile applies the whole file, including the gateway-wide settings, and is told what every profile did. Connected sessions are notified so clients refresh their tool list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||