agent-tool-builder

Design JSON tool schemas with input examples and error handling for LLM agents.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/CenredJun/openclaw-claudecode-setup-kit --skill agent-tool-builder-cenredjun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-tool-builder
Source: https://github.com/CenredJun/openclaw-claudecode-setup-kit/tree/main/skills/agent-tool-builder
Command: npx skills add https://github.com/CenredJun/openclaw-claudecode-setup-kit --skill agent-tool-builder-cenredjun

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Tools are the interface between LLMs and the outside world. A well-designed tool prevents hallucinations, derailed workflows, and costly retries by making boundaries explicit and observable.

Core Features & Use Cases

  • Tool Schema Design: Creating clear, unambiguous JSON schemas for tools.
  • Tool with Input Examples: Including examples to guide usage and testing.
  • Tool Error Handling: Designing robust recovery and validation mechanisms.

Quick Start

Define a new tool schema with example inputs and error-handling criteria for an LLM-driven workflow.

Frequently Asked Questions about agent-tool-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design robust tool schemas for LLM-driven agents?

Designing robust tool schemas for LLM-driven agents requires creating clear, unambiguous JSON schemas with explicit boundaries and consistent documentation to prevent hallucinations. Including input examples helps guide usage and testing.

Why does my LLM agent hallucinate parameters during function calling?

LLM agents hallucinate parameters when tool interfaces lack explicit boundaries and consistent documentation. Defining unambiguous tool schemas with input examples makes the expected parameters explicit and observable, preventing derailed workflows.

What is the best way to implement error handling for multi-tool agent systems?

The best way to implement error handling for multi-tool agent systems is to design robust recovery and validation mechanisms. This enforces safe error handling and runtime error recovery to ensure reliable agent behavior without costly retries.

How do I add input examples to a tool schema for testing?

To add input examples to a tool schema, include concrete usage examples alongside the JSON schema definition. This guides the LLM on correct parameter formats and enables consistent testing of the tool interface.

Do I need explicit JSON schemas for every tool in a multi-tool agent workflow?

Yes, explicit JSON schemas are needed for every tool in a multi-tool agent workflow. Enforcing explicit tool schemas prevents derailed workflows and ensures reliable agent behavior across the entire system.