support defining variables in the tools