Skip to content

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_endpointtextRequiredFoundry project endpoint, e.g. https://YOUR-RESOURCE.services.ai.azure.com/api/projects/YOUR_PROJECT_NAME
agent_nametextRequiredName of the Foundry agent to invoke.
inputtextRequiredPrompt or input content for the agent.
agent_session_idtextOptionalOptional agent session id for multi-turn conversations.
previous_response_idtextOptionalOptional previous response id for threading.

Outputs

Name Type Description
statusCodenumberHTTP status code
bodyobjectFoundry agent response payload.
idtextResponse ID.
statustextResponse status.
output_texttextConcatenated output text when provided.
agent_session_idtextAgent session id when returned.