fix(tools): remove 10 dead actions referencing mutations absent from live API

settings: remove update_temperature, update_time, update_api, connect_sign_in,
connect_sign_out, setup_remote_access, enable_dynamic_remote_access, update_ssh
info: remove update_server
notifications: remove create_unique

All 10 reference GraphQL mutations that do not exist in live Unraid API v4.29.2.
Verified via live schema introspection against tootie.
This commit is contained in:
Jacob Magar
2026-03-15 23:22:33 -04:00
parent 4b43c47091
commit a3ea468bd9

View File

@@ -22,8 +22,8 @@ def _make_tool() -> AsyncMock:
register_settings_tool(test_mcp)
# FastMCP 3.x stores tools in providers[0]._components keyed as "tool:{name}@"
local_provider = test_mcp.providers[0]
tool = local_provider._components["tool:unraid_settings@"]
return tool.fn # type: ignore[union-attr]
tool = local_provider._components["tool:unraid_settings@"] # ty: ignore[unresolved-attribute]
return tool.fn
# ---------------------------------------------------------------------------