AgentServiceBaseTool()A tool that interacts with Azure AI Foundry Agent Service.
Use this class to wrap tools from Azure AI Foundry for use with DeclarativeChatAgentNode.
Example:
from langchain_azure_ai.agents.prebuilt.tools import AgentServiceBaseTool
from azure.ai.agents.models import CodeInterpreterTool
code_interpreter_tool = AgentServiceBaseTool(tool=CodeInterpreterTool())
If your tool requires further configuration, you may need to use the Azure AI Foundry SDK directly to create and configure the tool.