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