ToolResult<T>
SIP Protocol API Reference v0.12.0
SIP Protocol API Reference / ToolResult
Interface: ToolResult<T>
Section titled “Interface: ToolResult<T>”Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:22609
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-rqQpCeVM.d.ts:22611
Whether the tool executed successfully
optionaldata?:T
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:22613
Result data
error?
Section titled “error?”
optionalerror?:string
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:22615
Error message if failed