Preparing search index...
The search index is not available
@iqai/adk API Documentation
@iqai/adk API Documentation
Tools
getMcpTools
Function getMcpTools
get
Mcp
Tools
(
config
,
toolFilter
?
)
:
Promise
<
BaseTool
[]
>
Retrieves and converts tools from an MCP server.
This function:
Connects to the MCP server (local or sse).
Retrieves all available tools.
Converts them into BaseTool instances.
Returns them as a BaseTool array.
Parameters
config
:
McpConfig
Optional
toolFilter
:
string
[]
|
(
(
tool
:
any
,
context
?:
ToolContext
)
=>
boolean
)
Returns
Promise
<
BaseTool
[]
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@iqai/adk API Documentation
Loading...
Retrieves and converts tools from an MCP server.
This function: