store

suspend fun store(): Store

Returns the Store of the running graph, which GraphConfig.store gave it. Call it from the action of a node, the work of a node, or a tool that a node runs. The nodes of a subgraph, and so the agents of a team, reach the store of the graph around them.

Throws

when the run has no store, or when it is called outside a running node.