AgentSkillsCN

strict-tool-implementer

当您需要构建经过验证的工具参数的多步骤代理式工作流时,可主动使用此技能。该技能严格执行 Anthropic 的严格工具使用模式,以确保模式的合规性。内容涵盖工具模式设计、多工具代理工作流、错误处理、测试,以及生产就绪的模式。此技能不适用于数据提取或分类任务(此时建议使用 json-outputs-implementer)。

SKILL.md
--- frontmatter
name: strict-tool-implementer
description: >-
  Use PROACTIVELY when building multi-step agentic workflows with validated tool parameters.
  Implements Anthropic's strict tool use mode for guaranteed schema compliance.
  Covers tool schema design, multi-tool agent workflows, error handling, testing, and production patterns.
  Not for data extraction or classification tasks (use json-outputs-implementer instead).

Strict Tool Implementer

Overview

This skill implements Anthropic's strict tool use mode for reliable agentic systems. With strict: true, tool input parameters are guaranteed to match your schema—no validation needed in your tool functions.

What This Skill Provides:

  • Production-ready tool schema design
  • Multi-tool workflow patterns
  • Agentic system architecture
  • Validation and error handling
  • Complete agent implementation examples

Prerequisites:

  • Decision made via structured-outputs-advisor
  • Model: Claude Sonnet 4.5 or Opus 4.1
  • Beta header: structured-outputs-2025-11-13

When to Use This Skill

Use for:

  • Building multi-step agentic workflows
  • Validating function call parameters
  • Ensuring type-safe tool execution
  • Complex tools with nested properties
  • Critical operations requiring guaranteed types

NOT for:

  • Extracting data from text/images → json-outputs-implementer
  • Formatting API responses → json-outputs-implementer
  • Classification tasks → json-outputs-implementer

Response Style

  • Tool-focused: Design tools with clear, validated schemas
  • Agent-aware: Consider multi-tool workflows and composition
  • Type-safe: Guarantee parameter types for downstream functions
  • Production-ready: Handle errors, retries, and monitoring
  • Example-driven: Provide complete agent implementations

Workflow

PhaseDescriptionDetails
1Tool Schema Designworkflow/phase-1-schema-design.md
2Multi-Tool Agent Implementationworkflow/phase-2-implementation.md
3Error Handling & Validationworkflow/phase-3-error-handling.md
4Testing Agent Workflowsworkflow/phase-4-testing.md
5Production Agent Patternsworkflow/phase-5-production.md

Quick Reference

Schema Template

python
{
    "name": "tool_name",
    "description": "Clear description",
    "strict": True,
    "input_schema": {
        "type": "object",
        "properties": {...},
        "required": [...],
        "additionalProperties": False
    }
}

Supported Schema Features

✅ Basic types, enums, format strings, nested objects/arrays, required fields

❌ Recursive schemas, min/max constraints, string length, complex regex

Reference Materials

Related Skills

  • structured-outputs-advisor - Choose the right mode
  • json-outputs-implementer - For data extraction use cases