mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
fix: introduces a raw_mcp_tool method in McpTool to provide direct access to the underlying MCP tool
PiperOrigin-RevId: 807299777
This commit is contained in:
committed by
Copybara-Service
parent
b1312680f4
commit
6158075a65
@@ -111,6 +111,11 @@ class McpTool(BaseAuthenticatedTool):
|
|||||||
)
|
)
|
||||||
return function_decl
|
return function_decl
|
||||||
|
|
||||||
|
@property
|
||||||
|
def raw_mcp_tool(self) -> McpBaseTool:
|
||||||
|
"""Returns the raw MCP tool."""
|
||||||
|
return self._mcp_tool
|
||||||
|
|
||||||
@retry_on_closed_resource
|
@retry_on_closed_resource
|
||||||
@override
|
@override
|
||||||
async def _run_async_impl(
|
async def _run_async_impl(
|
||||||
|
|||||||
Reference in New Issue
Block a user