Class BlackboardTools
-
- All Implemented Interfaces:
public final class BlackboardToolsTools for accessing objects in the current process blackboard.
This is an UnfoldingTool that exposes sub-tools for:
Listing all objects
Getting objects by binding name
Getting the last object of a type
Describing/formatting objects
Counting objects of a type
Uses AgentProcess.get to access the current process's blackboard.
Example usage:
val tools = BlackboardTools().create() // Add to an agentic tool SimpleAgenticTool("assistant", "...") .withTools(tools)
-
-
Constructor Summary
Constructors Constructor Description BlackboardTools()
-
Method Summary
Modifier and Type Method Description final UnfoldingToolcreate(BlackboardEntryFormatter entryFormatter)Create an UnfoldingTool for blackboard access. final UnfoldingToolcreate()Create an UnfoldingTool for blackboard access. -
-
Method Detail
-
create
@JvmOverloads() final UnfoldingTool create(BlackboardEntryFormatter entryFormatter)
Create an UnfoldingTool for blackboard access.
- Parameters:
entryFormatter- Formatter for individual blackboard entries
-
create
@JvmOverloads() final UnfoldingTool create()
Create an UnfoldingTool for blackboard access.
-
-
-
-