microsoft / microsoft/agent-framework
.NET: [Bug]: not working declarative workflow InvokeFunctionTool as expected
@baywet is already working on this.
Since Sep 3, 2026.
- Dominant language
- Python
- Stars
- 13.6k
- Forks
- 2.3k
- Avg merge
- 2d 45m
- Merged PRs (30d)
- 358
Description
### Description
[Declarative workflow](https://learn.microsoft.com/en-us/agent-framework/workflows/declarative?pivots=programming-language-csharp) and this repository samples suggest to use functions [in that way](https://learn.microsoft.com/en-us/agent-framework/workflows/declarative?pivots=programming-language-csharp#invokefunctiontool).
However, what about running workflow and functions using `StreamingRun = InProcessExecution.ResumeStreamingAsync()`?
As of now usage of this option result in emitting events RequestInfoEvent w/o actual tool call. It require implementation of ResponseAgentProvider and actual tool call and sending response back to workflow instantiated based on declarative yaml to set response to defined env variable (in Topic namespace btw, separate [issue mentioned here](https://github.com/microsoft/agent-framework/issues/7977)).
### Code Sample
```markdown
```
### Error Messages / Stack Traces
```markdown
```
### Package Versions
Microsoft.Agents.AI.Workflows.Declarative
### .NET Version
.NET 10.0.300
### Additional Context
declarative framework
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.