createPrivacyAdvisorTools()
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / createPrivacyAdvisorTools
Function: createPrivacyAdvisorTools()
Section titled “Function: createPrivacyAdvisorTools()”createPrivacyAdvisorTools(
config):DynamicStructuredTool<ToolInputSchemaBase,any,any,any>[]
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:22515
Create all tools for the Privacy Advisor agent
Parameters
Section titled “Parameters”config
Section titled “config”Tool configuration
Returns
Section titled “Returns”DynamicStructuredTool<ToolInputSchemaBase, any, any, any>[]
Array of LangChain tools
Example
Section titled “Example”const tools = createPrivacyAdvisorTools({ heliusApiKey: process.env.HELIUS_API_KEY!, cluster: 'mainnet-beta',})
// Use with LangChain agentconst agent = await createOpenAIToolsAgent({ llm: model, tools, prompt,})