Agent Builder - Local Function gerar_faixa times out after 2m06s - Missing output exec

How to connect my website backend to Agent Builder Local Function gerar_faixa? Always Incomplete

Hi team,

My agent vmaciel studio on env ccarenv_b64_Y2NhcmVudl82YWI2ZmOGYzMjg4MTkxOGFkYmQxYTBIMjK3MmUxMg with model gpt-6-luna has a Local Function called gerar_faixa.

Problem:
The function is called but it stays Incomplete - Missing output exec-f860079c... after 2m06s.

My question:
What is the correct way to connect my external website/API to this new Agent Builder Local Function feature?

  1. Where do I set the webhook / URL of my backend that will actually generate the faixa?
  2. Do I need to create an Action instead of a Local Function?
  3. How do I make the output from my site return to the agent so it doesn’t hang?

I have the logic for gerar_faixa(titulo, estilo) ready on my server, I just need the path to link it to OpenAI-hosted agent.

Session ID: sess_0416a02084fb20630006ab6faf8aaf08195a4ef6efa78a33f4a

Thanks!