microsoft-foundry / microsoft-foundry/foundry-samples

`LangGraph Toolbox` local invoke fails with 500: `TOOLBOX_ENDPOINT` is required but not set

Open
#679 4 comments 0 reactions 8 assignees View on GitHub

@eamonoreilly is already working on this.

Since Aug 13, 2026.

bug
Dominant language
Bicep
Stars
445
Forks
494
Avg merge
11h 35m
Merged PRs (30d)
38

Description

Description:
When executing Scenario 3: LangGraph Toolbox (Responses), the azd ai agent run started successfully locally, but executing the local invocation command azd ai agent invoke --local --protocol responses "What tools do you have?" failed, with the CLI returning agent failed (server_error): An internal server error occurred. See the image below for details:
Image
Image

Steps to Reproduce:

  1. mkdir langgraph-toolbox and cd langgraph-toolbox
  2. Run azd ai agent init --manifest "https://github.com/microsoft-foundry/foundry-samples/blob/main/samples/python/hosted-agents/bring-your-own/responses/langgraph-toolbox/agent.manifest.yaml" and select location northcentralus.
  3. Run azd up.
  4. Run azd ai agent run.
  5. From a second terminal, run azd ai agent invoke --local --protocol responses "What tools do you have?".

Environment:

Expected Behavior:
Local invoke can succeed.

@JeffreyCA and @rajeshkamal5050 for notification.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.