microsoft / microsoft/agent-framework

.NET: [Bug]: not working declarative workflow InvokeFunctionTool as expected

Open
#7,978 1 comment 0 reactions 1 assignee View on GitHub

@baywet is already working on this.

Since Sep 3, 2026.

.NET
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.