createPrivacyAdvisorTools()
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / createPrivacyAdvisorTools
Function: createPrivacyAdvisorTools()
Section titled “Function: createPrivacyAdvisorTools()”createPrivacyAdvisorTools(
config):DynamicStructuredTool<ToolInputSchemaBase,any,any,any,unknown,string>[]
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:22851
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, unknown, string>[]
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,})