Initial implementation of invoke mcp tool in python

This commit is contained in:
Peter Ibekwe
2026-05-04 13:08:21 -07:00
Unverified
parent fed40ca1b2
commit 55e665ade0
13 changed files with 2318 additions and 0 deletions
@@ -25,11 +25,16 @@ _IMPORTS = [
"DeclarativeLoaderError",
"DeclarativeWorkflowError",
"DefaultHttpRequestHandler",
"DefaultMCPToolHandler",
"ExternalInputRequest",
"ExternalInputResponse",
"HttpRequestHandler",
"HttpRequestInfo",
"HttpRequestResult",
"MCPToolApprovalRequest",
"MCPToolHandler",
"MCPToolInvocation",
"MCPToolResult",
"ProviderLookupError",
"ProviderTypeMapping",
"WorkflowFactory",
@@ -8,11 +8,16 @@ from agent_framework_declarative import (
DeclarativeLoaderError,
DeclarativeWorkflowError,
DefaultHttpRequestHandler,
DefaultMCPToolHandler,
ExternalInputRequest,
ExternalInputResponse,
HttpRequestHandler,
HttpRequestInfo,
HttpRequestResult,
MCPToolApprovalRequest,
MCPToolHandler,
MCPToolInvocation,
MCPToolResult,
ProviderLookupError,
ProviderTypeMapping,
WorkflowFactory,
@@ -27,11 +32,16 @@ __all__ = [
"DeclarativeLoaderError",
"DeclarativeWorkflowError",
"DefaultHttpRequestHandler",
"DefaultMCPToolHandler",
"ExternalInputRequest",
"ExternalInputResponse",
"HttpRequestHandler",
"HttpRequestInfo",
"HttpRequestResult",
"MCPToolApprovalRequest",
"MCPToolHandler",
"MCPToolInvocation",
"MCPToolResult",
"ProviderLookupError",
"ProviderTypeMapping",
"WorkflowFactory",