Only enable the tool query matching the node's provider_type instead of all four, and use primitive useMemo dependencies instead of the whole data object to avoid redundant recomputations on every render.