forge-tool-use
CommunityRun safe, validated tool loops.
Software Engineering#error handling#llm#tool calling#schema validation#function calling#agent loop#parallel tools
Authorf4rkh4d
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Unchecked LLM tool/function loops waste tokens, can spin forever, and often fail by throwing exceptions or returning unstructured results, leading to brittle agent behavior.
Core Features & Use Cases
- Hygienic tool-call loop design: enforces a hard iteration cap, structured loop events, and predictable termination.
- Validated structured inputs/outputs: validates tool arguments and tool outputs against schemas to enable recovery from “model called tool wrong” vs “tool execution failed.”
- Robust error-as-data handling: returns tool failures as structured data instead of letting exceptions crash the loop.
Quick Start
Instruct your AI agent to follow the forge-tool-use discipline by using a tool-use loop with a fixed max iterations, validating tool inputs/outputs, and returning tool results as structured content (not stringified prose) even when failures occur.
Dependency Matrix
Required Modules
None requiredComponents
referencesassets
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: forge-tool-use Download link: https://github.com/f4rkh4d/forge-skill/archive/main.zip#forge-tool-use Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.