mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
406a8560c6
* add AgentWithHostedMCP sample * Update dotnet/samples/HostedAgents/AgentWithHostedMCP/README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update dotnet/samples/HostedAgents/AgentWithHostedMCP/AgentWithHostedMCP.csproj Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update dotnet/samples/HostedAgents/AgentWithHostedMCP/AgentWithHostedMCP.csproj Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update dotnet/samples/HostedAgents/AgentWithHostedMCP/AgentWithHostedMCP.csproj Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Use explicit type for mcpTool --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
31 lines
683 B
HTTP
31 lines
683 B
HTTP
@host = http://localhost:8088
|
|
@endpoint = {{host}}/responses
|
|
|
|
### Health Check
|
|
GET {{host}}/readiness
|
|
|
|
### Simple string input - Ask about MCP Tools
|
|
POST {{endpoint}}
|
|
Content-Type: application/json
|
|
{
|
|
"input": "Please summarize the Azure AI Agent documentation related to MCP Tool calling?"
|
|
}
|
|
|
|
### Explicit input - Ask about Agent Framework
|
|
POST {{endpoint}}
|
|
Content-Type: application/json
|
|
{
|
|
"input": [
|
|
{
|
|
"type": "message",
|
|
"role": "user",
|
|
"content": [
|
|
{
|
|
"type": "input_text",
|
|
"text": "What is the Microsoft Agent Framework?"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|