ToolResult<T>
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / ToolResult
Interface: ToolResult<T>
Section titled “Interface: ToolResult<T>”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:22645
Tool execution result for LangChain tools
Type Parameters
Section titled “Type Parameters”T = unknown
Properties
Section titled “Properties”success
Section titled “success”success:
boolean
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:22647
Whether the tool executed successfully
optionaldata?:T
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:22649
Result data
error?
Section titled “error?”
optionalerror?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:22651
Error message if failed