Tool Registry

A catalog, not a kitchen sink.

Available tools are centrally registered alongside their schemas, descriptions, permissions, and metadata.

In practiceA research agent queries a tool registry to discover and invoke a real-time web-search tool it has never been hardcoded to call.

Level
04 · Production
Subdomain
Tool Integration
Also known as
Capability Catalog, Tool Catalog, Function Registry
Trade-off
Better tool governance is achieved against higher maintenance effort.
Native in
OpenAI Agents SDK, LangGraph, Microsoft Agent Framework, Google ADK, AWS Strands
The mechanism

How it works.

Tools are not written into the agent. They are entries in a catalogue, and the tool list of a run is built from that catalogue when the run starts.

1 · Register

  1. Describe the toolName, schema and what it is for
  2. Add metadataOwner, version, required permission
  3. Publish the entryOne place for all agents

2 · Use

  1. An agent starts a taskWith its identity and the task text
  2. The registry is queriedBy capability, filtered by permission
  3. Matching tools are loadedOnly these reach the model's context
  4. The model calls a toolAs with any function call
Entry
One tool in the catalogue: its schema and description plus who owns it and who may use it.
Version
Two versions can exist side by side. An agent pinned to version 1 keeps working when version 2 is published.
Discovery
Finding tools by what they do, at run time, instead of listing them in the agent's code.
Walk it through

A real run, step by step.

TaskA company registry holds 120 tools. A research agent gets the task “What did the central bank decide this week?”
Illustrative numbers.
StageWhat happensTools left
RegistryEvery registered tool120
Permission filterThe tools this agent may use34
Capability searchTools described as current news or web search3
Model contextA web search, a news search and a page fetcher3
What this shows: the model chooses among 3 tools, not 120. That saves tokens and removes most wrong picks. The web search was never written into this agent; it was found. The price is upkeep: an entry with a vague description is never found, and nobody notices.
In code

The pattern in code.

Plain Pythonpython
REGISTRY = []

def register(name, version, description, schema, permission, owner):
    REGISTRY.append(dict(name=name, version=version, description=description,
                         schema=schema, permission=permission, owner=owner))

def tools_for(agent, task, k=3):
    allowed = [t for t in REGISTRY if t["permission"] in agent.permissions]
    ranked = sorted(allowed, key=lambda t: similarity(task, t["description"]), reverse=True)
    return ranked[:k]  # only these are sent to the model

reply = model(task, tools=tools_for(agent, task))
Fit

Use it, or not.

When to reach for it

  • Many tools are managed.
  • Selection and versioning are critical.
  • Tools are shared across multiple agents.

When it backfires

  • Only a few static tools exist.
  • The registry cannot be maintained.
  • Tool descriptions cause poor automated selection.
Pitfalls

Two ways this pattern will hurt you.

Tool sprawl without deprecation

The registry grows to 200 tools, many of which are broken or superseded. The agent wastes turns calling stale tools.

Countermeasure

Add a deprecation flag and a last-used timestamp. Prune tools unused for 90 days after audit review.

Missing capability metadata

The registry stores names and schemas but omits latency, cost, and reliability metadata. The agent can't make informed choices.

Countermeasure

Require every registered tool to include a capability card: latency SLA, cost per call, and reliability score.

Threat exposure

What this pattern exposes

Adopting this pattern opens these attack surfaces. Each links to its entry in the threat model.

Full threat model →

EU law

Regulation

Duties from EU law that this pattern helps meet, or that land on it. A reading aid, not legal advice.

  • EU AI Act Art. 9A risk-management system run as a continuous, iterative process over the whole lifecycle.Providers of high-risk systems · from 2 Dec 2027 (Annex III) or 2 Aug 2028 (Annex I products)
  • EU AI Act Art. 25, Art. 3(23)Whoever substantially modifies a high-risk system, or changes a system's purpose so that it becomes high-risk, becomes its provider.Anyone who modifies or repurposes a system · from 2 Dec 2027 (Annex III) or 2 Aug 2028 (Annex I products)
  • GDPR Art. 28Only processors with sufficient guarantees, bound by contract; no further processor without the controller's authorisation.Controllers and processors · since 25 May 2018
  • GDPR Art. 30The controller keeps a record of processing activities: purposes, categories of data and of recipients. Processors keep a shorter one; small organisations are exempt only for occasional, low-risk processing.Controllers and processors · since 25 May 2018
  • GDPR Art. 35Before processing that is likely to result in a high risk, in particular with new technologies, the controller assesses its impact on the protection of personal data.Controllers · since 25 May 2018Explained on the DPIA page
  • GDPR Art. 44Personal data is transferred to a third country only under the conditions of Chapter V.Controllers and processors · since 25 May 2018
  • NIS2 Art. 21Risk-management measures that include supply chain security towards direct suppliers and service providers.Essential and important entities · under national law, due since 18 Oct 2024
  • Cyber Resilience Act Art. 13, Annex VIIProducts are designed to the essential cybersecurity requirements; the technical documentation includes a software bill of materials.Manufacturers · from 11 Dec 2027
  • DORA Art. 28A financial entity stays fully responsible when it uses ICT third-party services.Financial entities · since 17 Jan 2025

An engineer's reading aid, not legal advice. The legal texts and their interpretation are authoritative.

Framework support

Where Tool Registry is native.

OpenAI Agents SDKregistered tools + handoffsNative
LangGraphbound tool nodesNative
Microsoft Agent Frameworktool catalogNative
Google ADKtool registryNative
AWS Strandstool provider registryNative

Search

Search patterns, frameworks, and pages.