{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kimi-ai/json-schema/kimi-ai-tools-search-response-schema.json",
  "title": "ToolsSearchResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kimi-ai-tools-api-openapi.yml#/components/schemas/ToolsSearchResponse",
  "type": "object",
  "properties": {
    "search_results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ToolsSearchResult"
      },
      "description": "搜索结果列表；无结果时为空数组。"
    }
  },
  "required": [
    "search_results"
  ],
  "$defs": {
    "ToolsSearchResult": {
      "type": "object",
      "properties": {
        "authority": {
          "type": "string",
          "description": "来源权威性等级。"
        },
        "date": {
          "type": "string",
          "description": "搜索结果日期。"
        },
        "icon": {
          "type": "string",
          "description": "站点图标 URL。"
        },
        "mime": {
          "type": "string",
          "description": "内容 MIME 类型。"
        },
        "site_name": {
          "type": "string",
          "description": "站点名称。"
        },
        "snippet": {
          "type": "string",
          "description": "搜索结果摘要。"
        },
        "text": {
          "type": "string",
          "description": "网页正文内容；include_content=true 时返回，为 false 时为空字符串。"
        },
        "title": {
          "type": "string",
          "description": "搜索结果标题。"
        },
        "url": {
          "type": "string",
          "description": "搜索结果链接。"
        }
      },
      "required": [
        "authority",
        "date",
        "icon",
        "mime",
        "site_name",
        "snippet",
        "text",
        "title",
        "url"
      ]
    }
  }
}