# yaml-language-server: $schema=https://raw.githubusercontent.com/microsoft/AgentSchema/refs/heads/main/schemas/v1.0/ContainerAgent.yaml name: FoundrySingleAgent displayName: "Foundry Single Agent with Local Tools" description: > A travel assistant agent that helps users find hotels in Seattle. Demonstrates local C# tool execution - a key advantage of code-based hosted agents over prompt agents. metadata: authors: - Microsoft Agent Framework Team tags: - Azure AI AgentServer - Microsoft Agent Framework - Local Tools - Travel Assistant - Hotel Search template: kind: hosted name: FoundrySingleAgent protocols: - protocol: responses version: v1 environment_variables: - name: AZURE_AI_PROJECT_ENDPOINT value: ${AZURE_AI_PROJECT_ENDPOINT} - name: MODEL_DEPLOYMENT_NAME value: gpt-4o-mini resources: - name: "gpt-4o-mini" kind: model id: gpt-4o-mini