BlackboardTools

Tools 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)

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun create(entryFormatter: BlackboardEntryFormatter = DefaultBlackboardEntryFormatter): UnfoldingTool

Create an UnfoldingTool for blackboard access.