It might turn out the CallStruct is the API we want. This will depend on the future iterations of the function engine.