v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.8
LangChain.js
langchain-core/callbacks/manager
CallbackManagerForToolRun
Class CallbackManagerForToolRun
Hierarchy
BaseRunManager
CallbackManagerForToolRun
Implements
BaseCallbackManagerMethods
Index
Constructors
constructor
Properties
handlers
run
Id
inheritable
Handlers
inheritable
Metadata
inheritable
Tags
metadata
tags
Methods
get
Child
handle
Text
handle
Tool
End
handle
Tool
Error
Constructors
constructor
new
Callback
Manager
For
Tool
Run
(
runId
,
handlers
,
inheritableHandlers
,
tags
,
inheritableTags
,
metadata
,
inheritableMetadata
,
_parentRunId
?
)
:
CallbackManagerForToolRun
Parameters
runId
:
string
handlers
:
BaseCallbackHandler
[]
inheritableHandlers
:
BaseCallbackHandler
[]
tags
:
string
[]
inheritableTags
:
string
[]
metadata
:
Record
<
string
,
unknown
>
inheritableMetadata
:
Record
<
string
,
unknown
>
Optional
_parentRunId
:
string
Returns
CallbackManagerForToolRun
Properties
Readonly
handlers
handlers
:
BaseCallbackHandler
[]
Readonly
run
Id
run
Id
:
string
Protected
Readonly
inheritable
Handlers
inheritable
Handlers
:
BaseCallbackHandler
[]
Protected
Readonly
inheritable
Metadata
inheritable
Metadata
:
Record
<
string
,
unknown
>
Protected
Readonly
inheritable
Tags
inheritable
Tags
:
string
[]
Protected
Readonly
metadata
metadata
:
Record
<
string
,
unknown
>
Protected
Readonly
tags
tags
:
string
[]
Methods
get
Child
get
Child
(
tag
?
)
:
CallbackManager
Parameters
Optional
tag
:
string
Returns
CallbackManager
handle
Text
handle
Text
(
text
)
:
Promise
<
void
>
Parameters
text
:
string
Returns
Promise
<
void
>
handle
Tool
End
handle
Tool
End
(
output
)
:
Promise
<
void
>
Parameters
output
:
string
Returns
Promise
<
void
>
handle
Tool
Error
handle
Tool
Error
(
err
)
:
Promise
<
void
>
Parameters
err
:
unknown
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
constructor
handlers
run
Id
inheritable
Handlers
inheritable
Metadata
inheritable
Tags
metadata
tags
get
Child
handle
Text
handle
Tool
End
handle
Tool
Error
LangChain.js - v0.2.8
Loading...