{
  "metadata": {
    "description": "Convert lengths between metric and imperial units, including miles and kilometers.",
    "tags": [
      "units",
      "distance",
      "length",
      "conversion"
    ]
  },
  "llm_config": {
    "model_name": "gpt-4.1-mini"
  },
  "max_steps": 6,
  "tools": [
    {
      "name": "unit_converter",
      "function": {
        "description": "Convert lengths between metric and imperial units, including miles and kilometers.",
        "parameters": {
          "type": "object",
          "properties": {
            "value": {
              "type": "number",
              "minimum": -100000000,
              "maximum": 100000000
            },
            "from": {
              "type": "string",
              "enum": [
                "m",
                "km",
                "cm",
                "mi",
                "ft",
                "in"
              ]
            },
            "to": {
              "type": "string",
              "enum": [
                "m",
                "km",
                "cm",
                "mi",
                "ft",
                "in"
              ]
            }
          },
          "required": [
            "value",
            "from",
            "to"
          ],
          "additionalProperties": false
        }
      },
      "instructions": "Call website_convert_units with the typed input and return the actual result.",
      "tools": [
        "handshake_validator"
      ],
      "x-handshake-action": "website_convert_units",
      "output_schema": {
        "type": "object"
      },
      "x-handshake-actions": [
        "website_convert_units"
      ]
    }
  ],
  "link_slots": {
    "handshake_validator": {
      "description": "Published demo peer link"
    }
  }
}