Skip to content

工具 Schema 构建器

构建一次就能通过严格模式的 function-calling 与 MCP 工具 Schema,并按严格模式契约对粘贴的 Schema 进行 lint——additionalProperties, required-sync, defaults, enums——每一处机械性违规都支持一键自动修复。完全在你的浏览器中运行。

AI & Agents
cosmodev ~/tools/tool-schema-builder-
{
  "name": "get_weather",
  "description": "Current weather for a city",
  "input_schema": {
    "type": "object",
    "properties": {
      "city": {
        "type": "string",
        "description": "City name"
      }
    },
    "required": [
      "city"
    ],
    "additionalProperties": false
  }
}