Skip to content

.NET: Use SDK abstraction to handle conversion from MCP content blocks to MEAI content types for declarative workflows #5827

Description

Description

Currently, DefaultMcpToolHandler uses custom logic to translate from MCP tool result types to MEAI types. This can lead to gaps and new content types not being properly handled. Update this to use MCP C# SDK extension to handle this automatically.

Code Sample

Language/SDK

.NET

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

.NETUsage: [Issues, PRs], Target: .NetdeclarativeUsage: [Issues, PRs], Target: declarative agents and workflowsworkflowsUsage: [Issues, PRs], Target: Workflows

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions