SKILL.md
Call Azure Foundry Agent
Send a prompt to an Azure Foundry Agent and retrieve the response.
Parameters
- Required:
prompt(The input text to send to the agent) - Optional:
- --agent-name (The name of the agent to call. Defaults to AZUREAIAGENTNAME env var) - --endpoint (The Azure AI Project Endpoint. Defaults to AZUREAIPROJECTENDPOINT env var)
Example
.venv/Scripts/python .github/skills/call_foundry_agent/scripts/call_foundry.py "search the latest news in 2026"