Hello,
I do not believe this is a current feature. Currently my team has tool calls to set irrelevant dynamic variables to null when not relevant so they do not pollute our context with irrelevant information. It would be great if there was a way to set this with a node so we do not have to call external tools to do this