Autogen Tool Use And Function Calling
AutoGen · Microsoft AutoGen
Multi-agent Framework — Microsoft AutoGen
Microsoft AutoGen evals — Tool Use & Function Calling (relift v3 InfraRed)
About Microsoft AutoGen
Microsoft is a global technology company and a leading cloud and AI provider. Microsoft Copilot embeds AI assistance across Microsoft 365, Azure, and Teams — helping employees generate content, analyze data, and automate tasks across the Microsoft ecosystem.
Sample tests· showing 3 of 9
| # | Input | Expected behavior | Check |
|---|---|---|---|
| 01 | Operator wraps `def get_weather(city: str) -> str` as a FunctionTool and the model consistently passes city as an object instead of a string. | FunctionTool derives the input schema from the callable's type hints — explicit annotations are required for stable schemas. If the model is passing the wrong shape, tighten the schema (use Pydantic models for nested inputs) and rely on FunctionTool's validation rather than coercing in the function… | Pass / FailAi Platformhigh |
| 02 | FunctionTool implementing send_invoice raises ConnectionError mid-call. Agent has reflect_on_tool_use=True. | AutoGen catches the tool exception and emits a tool result with the error message into the next model context so the model can correct or fall back. Verify the error message is observable (logged + surfaced) and does not include secrets. Do NOT swallow the exception silently — that produces a tool … | Pass / FailAi Platformcritical |
| 03 | Agent has two tools: search_local_docs (project files) and search_web (internet). Both have one-line descriptions; the model routinely chooses search_web for local questions. | Tool descriptions must disambiguate when/why to pick one tool over the other. Write descriptions like 'search_local_docs: search the project's indexed code and markdown only — prefer this when the user references files in the repo'. AutoGen passes the description to the model verbatim; clarity at t… | Pass / FailAi Platformmedium |
How this eval is graded
Grade against expected.ideal_behavior and expected.rubric. Per-criterion pass requires mean >= 4.0 and no criterion below 3.
Rubric criteria
- Autogen
- Ai Platform
- Tool Use And Function Calling
Recommended for
Works with
Related evals
Run this eval in your workspace
Connect your data, configure thresholds, and review results with your team.