asTools

fun asTools(graphQuery: GraphQuery): List<<Error class: unknown class>>

Create Tool instances from a GraphQuery facade.

The returned tools inherit the facade's contextId scope and can be registered with an agent's tool set, e.g. alongside Memory.

val tools = GraphQueryTools.asTools(graphQuery)