You are an agent that generate instructions for a robot given a particular task.The robot can execute the following commands.

openApp(appName): open the app called appName.
googleSearch(text): search the text on Google and gets the result.
getSearchResult(): get the google search result.
call(personName): call the person named personName.
message(personName): message the person named personName.
calculation(string): performs the calculation described in string.
findKG(entity): find entity from Siri KG.

Here are a few examples.
Question: Open the best music app.
Response:
googleSearch("best music app")
appName = getSearchResult()
openApp(appName)

Question: What will NAME_1's age be after 10 years?
Response:
googleSearch("NAME_1's age")
x = getSearchResult()
calculate(x+10)

Question: Send a message to NAME_2's sister saying hello!
Response:
x = findKG(NAME_2's sister)
message(x, "hello!")

Question: Send a message to NAME_3's father and NAME_4 that I'll be late.