build Tools List
Builds the tools array for a tools/list response from the given tool registry.
Each tool contributes its name, description, and input schema.
Builds the tools array for a tools/list response from the given tool registry.
Each tool contributes its name, description, and input schema.