Run Agent
Microsoft Foundry
Microsoft Foundry
Run Agent
Invoke a saved Microsoft Foundry agent using the agent Responses protocol endpoint.
ActionAI Tool
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
project_endpoint | text | Required | Foundry project endpoint, e.g. https://YOUR-RESOURCE.services.ai.azure.com/api/projects/YOUR_PROJECT_NAME |
agent_name | text | Required | Name of the Foundry agent to invoke. |
input | text | Required | Prompt or input content for the agent. |
agent_session_id | text | Optional | Optional agent session id for multi-turn conversations. |
previous_response_id | text | Optional | Optional previous response id for threading. |
Outputs
| Name | Type | Description |
|---|---|---|
statusCode | number | HTTP status code |
body | object | Foundry agent response payload. |
id | text | Response ID. |
status | text | Response status. |
output_text | text | Concatenated output text when provided. |
agent_session_id | text | Agent session id when returned. |