GYC.
知识花园

Notes on tool registries

A growing note on making available tools easy to inspect.

  • Agent
  • Tools
  • RepoMedic
  • DiagAgent

A working definition

A tool registry describes what a tool does and the inputs it accepts. The registry should make the available operations explicit.

  1. Give each tool a clear name.
  2. Describe its inputs.
  3. Keep execution results inspectable.
const tool = { name: "read_note", input: { slug: "example" } };

This is a working note, not a finished design.

Open question

How much validation belongs in the registry, and how much belongs in each tool?

This question appears in both RepoMedic, where tools operate on a code workspace, and DiagAgent, where recovery actions are constrained by evidence and verification.

Read the Writing section for longer articles.