Given a prompt, the local function agent should choose the best function that will help answer the query. It should give it in a JSON format.