Azure / Azure/azure-sdk-for-python

Add option to disable clarification questions in DeepResearchTool for non-interactive workflows

Open
#42,102 2 comments 1 reaction 1 assignee Claimed by @jhakulin View on GitHub
AI AI Agents Client customer-reported feature-request needs-team-attention question Service Attention
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 21h
Merged PRs (30d)
193

Description

## Issue Description
I'm implementing DeepResearchTool in a one-shot agent workflow where user interaction is not possible after initial submission. The tool sometimes returns clarification questions that break the workflow since users cannot respond.

## Current Behavior
- DeepResearchTool returns follow-up/clarification questions as its response instead of performing the research
- In a one-shot (non-conversational) workflow, the agent returns these questions to the user rather than proceeding with the research task
- The tool doesn't complete the actual research when it determines clarification is needed
- This breaks the expected workflow where the agent should provide research results, not questions

## Expected Behavior
- Tool should either:
- Proceed with research using best available interpretation of the query, OR
- Provide a configuration option to disable clarification mode
- Should return research results, not questions, in non-interactive contexts

## Use Case
This is for an automated agent workflow where:
- User submits initial query
- Agent processes request autonomously
- No user interaction is possible after submission
- Must complete end-to-end without intervention

## Questions
1. Is there a configuration parameter to disable clarification questions other than instructing it not to ask questions.
2. Can the tool be set to "best effort" mode without user interaction?
3. Are there any workarounds for one-shot/non-interactive scenarios?

## Code Context
```python
from azure.ai.agents.models import DeepResearchTool

# Current initialization - no option to disable clarifications
deep_research_tool = DeepResearchTool(
bing_grounding_connection_id=conn_id,
deep_research_model=deployment_name
)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.