Skip to content

API Reference


API Reference / buildCatalogue

Function: buildCatalogue()

buildCatalogue(deps): Tool[]

Defined in: src/agent/catalogue.ts:52

The catalogue of tools exposed to MCP clients and agent runtimes: what exists, at what scope, at what risk, and which handler carries it out.

Declarative on purpose — adding an endpoint means adding an entry here and a schema in schemas.ts. Policy enforcement lives in AgentToolRegistry, so handlers here carry no scope checks of their own.

Parameters

deps

CatalogueDependencies

Returns

Tool[]

Community project — not affiliated with Dhan. MIT License.