If the parameters in the tool include code, such as Python code, it seems odd to place it in JSON. Have you considered this situation?