asTools

fun asTools(operations: GovernanceOperationsService): List<<Error class: unknown class>>

Create Tool instances exposing the governance operator surface.

The returned tools can be registered with an agent's tool set or an MCP server, e.g. alongside DiscoveryTools and Memory.

val tools = GovernanceTools.asTools(governanceOperationsService)

Return

The tools, ready to register alongside an agent's other ones.

Parameters

operations

The governance service the tools delegate to.