name: agent-framework-agent-with-foundry-toolbox-responses
description: >
  An Agent Framework agent with Foundry Toolbox integration.
metadata:
  tags:
    - Agent Framework
    - AI Agent Hosting
    - Azure AI AgentServer
    - Responses Protocol
    - Streaming
template:
  name: agent-framework-agent-with-foundry-toolbox-responses
  kind: hosted
  protocols:
    - protocol: responses
      version: 2.0.0
  environment_variables:
    - name: AZURE_AI_MODEL_DEPLOYMENT_NAME
      value: "{{AZURE_AI_MODEL_DEPLOYMENT_NAME}}"
    - name: TOOLBOX_ENDPOINT
      # Full MCP endpoint of the toolbox the agent consumes. Create the toolbox
      # from the bundled toolbox.yaml, then copy the versioned endpoint it prints
      # and store it in your azd environment before you run or deploy:
      #   azd ai toolbox create my-toolbox --from-file ./toolbox.yaml
      #   azd env set TOOLBOX_ENDPOINT "<endpoint-from-output>"
      value: "{{TOOLBOX_ENDPOINT}}"
resources:
  - kind: model
    id: gpt-4.1
    name: AZURE_AI_MODEL_DEPLOYMENT_NAME
