PRODUCTION SCENARIO
A Foundry agent has a function tool for checking stock. Its first response contains a function_call item and no final answer, and the run then expires.
What is the client application failing to do?
Answering here is anonymous. Nothing is saved unless you sign in.
Show answer and explanation
Answer: Execute the function and submit a function_call_output item
The agent's model asks your app to call the function; your app executes it and submits a function_call_output item, and the agent uses that result to finish. Foundry never runs the function, so polling the endpoint waits for something that never arrives. The ten-minute run expiration is a fixed service limit and is the symptom here, not the cause. Setting strict tightens argument validation, and the model already produced a well-formed function_call.