Your product could be here. Sponsor Agent Toolbox →

JSON Schema → Tool Definition

Convert a JSON Schema into OpenAI, Anthropic and MCP tool formats.

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Get current weather for a city",
    "parameters": {
      "type": "object",
      "properties": {
        "city": {
          "type": "string",
          "description": "City name"
        },
        "units": {
          "type": "string",
          "enum": [
            "c",
            "f"
          ]
        }
      },
      "required": [
        "city"
      ]
    },
    "strict": false
  }
}

Get new agent tools weekly

One short email. New tools, MCP servers and frameworks. No spam.

More tools