Skip to the content.
Home Specification Examples Contributing Multilingual Changelog License

Agent Tool Description Format (ATDF) Specification (v0.1.0 & v0.2.0)

Introduction

The Agent Tool Description Format (ATDF) is an open protocol designed to describe tools in a functional, implementation-agnostic manner. It enables AI agents to select and use tools based on their purpose, context, and operation, without relying on specific technical details or tool names. ATDF promotes flexibility, scalability, and interoperability across different agents and toolsets.

ATDF achieves this by standardizing tool descriptions around three core questions:

Motivation

Current approaches to tool integration in AI agents often rely on hard-coded tool names, proprietary APIs, or detailed technical specifications. This creates dependencies that limit adaptability and complicate the adoption of new tools. ATDF addresses these challenges by providing a simple, functional description format that is:

Specification

Each tool must be described in a structured format (JSON or YAML) with the following required fields:

Structure

Example

{
  "tool_id": "hole_maker_v1",
  "description": "Permite crear agujeros en superficies sólidas",
  "when_to_use": "Usar cuando necesites generar un agujero en una pared u otra superficie perforable",
  "how_to_use": {
    "inputs": [
      { "name": "location", "type": "string", "description": "Ubicación del agujero" },
      { "name": "bit_id", "type": "string", "description": "ID de la broca" }
    ],
    "outputs": {
      "success": "Agujero creado con éxito",
      "failure": [
        { "code": "invalid_bit", "description": "Broca no compatible" },
        { "code": "invalid_surface", "description": "Superficie no perforable" }
      ]
    }
  }
}

JSON Schema

The structure of ATDF descriptions is formally defined in schema/atdf_schema.json. Tools must validate against this schema to ensure compliance.

Rules and Considerations

Use Cases

Version Differences

Version 0.1.0 (Basic)

The initial version focuses on the core functionality with minimal required fields:

Version 0.2.0 (Enhanced)

The enhanced version adds several optional fields to improve tool descriptions:

New Optional Fields

Enhancements to Existing Fields

Compatibility

v0.2.0 maintains backward compatibility with v0.1.0. All v0.1.0 tools are valid in v0.2.0, but newer fields are ignored by systems that only support v0.1.0.

Example (Enhanced v0.2.0)

For a complete example of an enhanced tool description, see schema/examples/enhanced_hole_maker.json.

Future Extensions

Planned enhancements for ATDF v0.3.0 and beyond include:

Contributions

ATDF is an open protocol, and contributions are welcome. Please see Contributing for guidelines on submitting issues, pull requests, or new tool descriptions.

Contact

For questions or feedback, contact Mauricio Perera at mauricio.perera@gmail.com or open an issue.

License

ATDF is licensed under the MIT License. See LICENSE for details.