feat: Add a load MCP resource tool

If the user specifies use_mcp_resources=True in their MCPToolset, the agent will be able to load resources with the load_mcp_resource_tool.

Co-authored-by: Kathy Wu <wukathy@google.com>
PiperOrigin-RevId: 866539602
This commit is contained in:
Kathy Wu
2026-02-06 11:18:32 -08:00
committed by Copybara-Service
parent c7362100eb
commit e25227da5e
6 changed files with 393 additions and 5 deletions
@@ -52,6 +52,7 @@ Allowed directory: {_allowed_path}
'get_file_info',
'list_allowed_directories',
],
use_mcp_resources=True,
)
],
)