|
admin: POST /admin/tools/reload
reload_tools is granted to one profile only (tool_developer), so an admin whose profile lacks it cannot reload at all — the tool answers "not found" instead of reloading. The route calls the same reload_all() the tool does, behind require_admin, for whoever is logged in as an admin. An admin may read: ok, the tools loaded, the registry total, per-file errors, names in enabled.json nothing answers to, and the MCP/providers summary. |
|---|
|
|
| navi/api/routes/admin.py |
|---|
| tests/unit/api/test_admin_tools_reload.py 0 → 100644 |
|---|