| name | call-foundry-agent |
| description | Call Foundry agent with a prompt and get the response. |
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-id(The ID of the agent to call. Defaults toAZURE_AI_AGENT_IDenv var)--endpoint(The Azure AI Project Endpoint. Defaults toAZURE_AI_PROJECT_ENDPOINTenv var)
Example
.venv/Scripts/python .claude/skills/call_foundry_agent/scripts/call_foundry.py "search the latest news in 2026"