Function not invoked after submitting in Playground - thread shows RequestAction error

Jatin 0 Reputation points
2025-08-01T09:13:36.06+00:00

I am working with Azure AI Studio (Foundry) and trying to invoke a Python function tool via the Playground interface. After I submit the message in the Playground, the response is returned, but my function is not being called as expected.

I checked the thread state, and in the run.steps

Its working locally in Python but it is not able to invoke in playground.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
{count} votes

1 answer

Sort by: Most helpful
  1. Aryan Parashar 150 Reputation points Microsoft External Staff Moderator
    2025-08-11T07:57:08.16+00:00

    Hi Jatin,

    Adding a Python function to your assistant will make it run locally, but not in AI Foundry Agent Playground. In the Playground, it will not run automatically—you have to manually trigger the Python environment. If you don’t, the function won’t run and will eventually time out or fail.

    Let me know if you have more queries.
    Feel free to accept this as an answer.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.