@adcp/client API Reference - v3.11.2
Documentation
GitHub
npm
Preparing search index...
createMCPClient
Function createMCPClient
createMCPClient
(
agentUrl
:
string
,
authToken
?:
string
,
)
:
{
callTool
:
(
toolName
:
string
,
args
:
Record
<
string
,
any
>
,
debugLogs
?:
any
[]
,
)
=>
Promise
<
any
>
;
}
Simple factory functions for protocol-specific clients
Parameters
agentUrl
:
string
Optional
authToken
:
string
Returns
{
callTool
:
(
toolName
:
string
,
args
:
Record
<
string
,
any
>
,
debugLogs
?:
any
[]
,
)
=>
Promise
<
any
>
;
}
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Documentation
GitHub
npm
@adcp/client API Reference - v3.11.2
Loading...
Simple factory functions for protocol-specific clients