{
  "service": "yuandian",
  "displayName": "Yuan Dian",
  "categories": [
    "AI",
    "Data"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "YUANDIAN_API_KEY",
      "description": "Yuan Dian Open Platform API key sent with the X-API-Key header. Connection validation calls the low-cost enterprise search endpoint and consumes 1 Yuan Dian point.",
      "extraFields": []
    }
  ],
  "homepageUrl": "https://open.chineselaw.com",
  "actions": [
    {
      "id": "yuandian.check_legal_hallucinations",
      "service": "yuandian",
      "name": "check_legal_hallucinations",
      "description": "Check legal citations in text for Yuan Dian-detected hallucinations.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "minLength": 1,
            "description": "The legal text to check for citation hallucinations."
          },
          "requestId": {
            "type": "string",
            "minLength": 1,
            "description": "Optional caller-supplied request identifier sent as X-Request-ID."
          }
        },
        "additionalProperties": false,
        "required": [
          "text"
        ],
        "description": "Input parameters for checking legal citations in text."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "regulations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A single Yuan Dian result item as returned by the API."
            },
            "description": "The normalized Yuan Dian result list."
          },
          "cases": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A single Yuan Dian result item as returned by the API."
            },
            "description": "The normalized Yuan Dian result list."
          },
          "highlightedText": {
            "anyOf": [
              {
                "type": "string",
                "description": "HTML text with Yuan Dian highlight spans for detected legal references."
              },
              {
                "type": "null"
              }
            ]
          },
          "semanticCompareError": {
            "anyOf": [
              {
                "type": "string",
                "description": "Semantic comparison error text when Yuan Dian returned one."
              },
              {
                "type": "null"
              }
            ]
          },
          "chatModel": {
            "anyOf": [
              {
                "type": "string",
                "description": "The server-side chat model used by Yuan Dian."
              },
              {
                "type": "null"
              }
            ]
          },
          "requestId": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian request identifier for this check."
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian legal hallucination check response."
      }
    },
    {
      "id": "yuandian.get_case_details",
      "service": "yuandian",
      "name": "get_case_details",
      "description": "Retrieve Yuan Dian case details by case ID or case number.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "caseId": {
            "type": "string",
            "minLength": 1,
            "description": "Yuan Dian case identifier."
          },
          "caseNumber": {
            "type": "string",
            "minLength": 1,
            "description": "Case number used when no caseId is supplied."
          },
          "type": {
            "type": "string",
            "enum": [
              "ptal",
              "qwal"
            ],
            "description": "Case type filter."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for retrieving Yuan Dian case details. Provide caseId or caseNumber."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "data": {
            "description": "The Yuan Dian response data field."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian detail response with the raw upstream payload preserved."
      }
    },
    {
      "id": "yuandian.get_clause_detail",
      "service": "yuandian",
      "name": "get_clause_detail",
      "description": "Retrieve detail for one Yuan Dian statutory clause.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "clauseId": {
            "type": "string",
            "minLength": 1,
            "description": "Yuan Dian clause identifier."
          },
          "regulationName": {
            "type": "string",
            "minLength": 1,
            "description": "Regulation name used when no clauseId is supplied."
          },
          "clauseNumber": {
            "type": "string",
            "minLength": 1,
            "description": "Clause number or name, such as Article 100."
          },
          "referenceDate": {
            "type": "string",
            "description": "Reference date for locating the effective clause version.",
            "format": "date"
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for retrieving one Yuan Dian statutory clause detail. Provide clauseId or both regulationName and clauseNumber."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "data": {
            "description": "The Yuan Dian response data field."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian detail response with the raw upstream payload preserved."
      }
    },
    {
      "id": "yuandian.get_enterprise_aggregation_summary",
      "service": "yuandian",
      "name": "get_enterprise_aggregation_summary",
      "description": "Retrieve Yuan Dian enterprise aggregation summary.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "enterpriseId": {
            "type": "string",
            "minLength": 1,
            "description": "Yuan Dian enterprise identifier."
          },
          "creditCode": {
            "type": "string",
            "minLength": 1,
            "description": "Unified social credit code."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for retrieving enterprise aggregation summary. Provide enterpriseId or creditCode."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "data": {
            "description": "The Yuan Dian response data field."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian detail response with the raw upstream payload preserved."
      }
    },
    {
      "id": "yuandian.get_enterprise_annual_report",
      "service": "yuandian",
      "name": "get_enterprise_annual_report",
      "description": "Retrieve one Yuan Dian enterprise annual report.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "enterpriseId": {
            "type": "string",
            "minLength": 1,
            "description": "Yuan Dian enterprise identifier."
          },
          "creditCode": {
            "type": "string",
            "minLength": 1,
            "description": "Unified social credit code."
          },
          "year": {
            "type": "string",
            "minLength": 1,
            "description": "Annual report year, such as 2023."
          }
        },
        "additionalProperties": false,
        "required": [
          "year"
        ],
        "description": "Input parameters for retrieving one Yuan Dian enterprise annual report."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "data": {
            "description": "The Yuan Dian response data field."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian detail response with the raw upstream payload preserved."
      }
    },
    {
      "id": "yuandian.get_enterprise_base_info",
      "service": "yuandian",
      "name": "get_enterprise_base_info",
      "description": "Retrieve one Yuan Dian enterprise base information record.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "enterpriseId": {
            "type": "string",
            "minLength": 1,
            "description": "Yuan Dian enterprise identifier."
          },
          "creditCode": {
            "type": "string",
            "minLength": 1,
            "description": "Unified social credit code."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for retrieving enterprise base information. Provide enterpriseId or creditCode."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "data": {
            "description": "The Yuan Dian response data field."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian detail response with the raw upstream payload preserved."
      }
    },
    {
      "id": "yuandian.get_enterprise_detail",
      "service": "yuandian",
      "name": "get_enterprise_detail",
      "description": "Retrieve one Yuan Dian enterprise detail.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "enterpriseId": {
            "type": "string",
            "minLength": 1,
            "description": "Yuan Dian enterprise identifier."
          },
          "creditCode": {
            "type": "string",
            "minLength": 1,
            "description": "Unified social credit code."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for locating one Yuan Dian enterprise. Provide enterpriseId or creditCode."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "data": {
            "description": "The Yuan Dian response data field."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian detail response with the raw upstream payload preserved."
      }
    },
    {
      "id": "yuandian.get_enterprise_litigation_statistics",
      "service": "yuandian",
      "name": "get_enterprise_litigation_statistics",
      "description": "Retrieve Yuan Dian enterprise litigation statistics.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "enterpriseId": {
            "type": "string",
            "minLength": 1,
            "description": "Yuan Dian enterprise identifier."
          },
          "creditCode": {
            "type": "string",
            "minLength": 1,
            "description": "Unified social credit code."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for retrieving enterprise litigation statistics. Provide enterpriseId or creditCode."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "data": {
            "description": "The Yuan Dian response data field."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian detail response with the raw upstream payload preserved."
      }
    },
    {
      "id": "yuandian.get_regulation_detail",
      "service": "yuandian",
      "name": "get_regulation_detail",
      "description": "Retrieve detail for one Yuan Dian regulation.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "regulationId": {
            "type": "string",
            "minLength": 1,
            "description": "Yuan Dian regulation identifier."
          },
          "regulationName": {
            "type": "string",
            "minLength": 1,
            "description": "Regulation name used when no regulationId is supplied."
          },
          "referenceDate": {
            "type": "string",
            "description": "Reference date for locating the effective regulation version.",
            "format": "date"
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for retrieving one Yuan Dian regulation detail. Provide regulationId or regulationName."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "data": {
            "description": "The Yuan Dian response data field."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian detail response with the raw upstream payload preserved."
      }
    },
    {
      "id": "yuandian.list_enterprise_business_records",
      "service": "yuandian",
      "name": "list_enterprise_business_records",
      "description": "List Yuan Dian enterprise business records.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "enterpriseId": {
            "type": "string",
            "minLength": 1,
            "description": "Yuan Dian enterprise identifier."
          },
          "creditCode": {
            "type": "string",
            "minLength": 1,
            "description": "Unified social credit code."
          },
          "recordType": {
            "type": "string",
            "enum": [
              "change_info",
              "out_invest",
              "guaranty",
              "pledge",
              "frozen_equity"
            ],
            "description": "Business record type to list."
          },
          "pageNo": {
            "type": "integer",
            "minimum": 1,
            "description": "Page number to request from Yuan Dian."
          }
        },
        "additionalProperties": false,
        "required": [
          "recordType"
        ],
        "description": "Input parameters for listing Yuan Dian enterprise business records."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "total": {
            "description": "The upstream total record count when returned."
          },
          "pageNo": {
            "description": "The upstream page number when returned."
          },
          "pageSize": {
            "description": "The upstream page size when returned."
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A single Yuan Dian result item as returned by the API."
            },
            "description": "The normalized Yuan Dian result list."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian enterprise page response."
      }
    },
    {
      "id": "yuandian.list_enterprise_compliance_records",
      "service": "yuandian",
      "name": "list_enterprise_compliance_records",
      "description": "List Yuan Dian enterprise compliance records.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "enterpriseId": {
            "type": "string",
            "minLength": 1,
            "description": "Yuan Dian enterprise identifier."
          },
          "creditCode": {
            "type": "string",
            "minLength": 1,
            "description": "Unified social credit code."
          },
          "recordType": {
            "type": "string",
            "enum": [
              "punishment",
              "abnormal_operation",
              "serious_illegal",
              "corporate_tax"
            ],
            "description": "Compliance record type to list."
          },
          "pageNo": {
            "type": "integer",
            "minimum": 1,
            "description": "Page number to request from Yuan Dian."
          }
        },
        "additionalProperties": false,
        "required": [
          "recordType"
        ],
        "description": "Input parameters for listing Yuan Dian enterprise compliance records."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "total": {
            "description": "The upstream total record count when returned."
          },
          "pageNo": {
            "description": "The upstream page number when returned."
          },
          "pageSize": {
            "description": "The upstream page size when returned."
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A single Yuan Dian result item as returned by the API."
            },
            "description": "The normalized Yuan Dian result list."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian enterprise page response."
      }
    },
    {
      "id": "yuandian.list_enterprise_court_notices",
      "service": "yuandian",
      "name": "list_enterprise_court_notices",
      "description": "List Yuan Dian enterprise court notices.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "enterpriseId": {
            "type": "string",
            "minLength": 1,
            "description": "Yuan Dian enterprise identifier."
          },
          "creditCode": {
            "type": "string",
            "minLength": 1,
            "description": "Unified social credit code."
          },
          "noticeType": {
            "type": "string",
            "enum": [
              "court_session_notice",
              "court_notice"
            ],
            "description": "Court notice type to list."
          },
          "pageNo": {
            "type": "integer",
            "minimum": 1,
            "description": "Page number to request from Yuan Dian."
          }
        },
        "additionalProperties": false,
        "required": [
          "noticeType"
        ],
        "description": "Input parameters for listing Yuan Dian enterprise court notices."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "total": {
            "description": "The upstream total record count when returned."
          },
          "pageNo": {
            "description": "The upstream page number when returned."
          },
          "pageSize": {
            "description": "The upstream page size when returned."
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A single Yuan Dian result item as returned by the API."
            },
            "description": "The normalized Yuan Dian result list."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian enterprise page response."
      }
    },
    {
      "id": "yuandian.list_enterprise_execution_risks",
      "service": "yuandian",
      "name": "list_enterprise_execution_risks",
      "description": "List Yuan Dian enterprise execution risk records.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "enterpriseId": {
            "type": "string",
            "minLength": 1,
            "description": "Yuan Dian enterprise identifier."
          },
          "creditCode": {
            "type": "string",
            "minLength": 1,
            "description": "Unified social credit code."
          },
          "recordType": {
            "type": "string",
            "enum": [
              "executed_person",
              "dishonest_execution"
            ],
            "description": "Execution risk record type to list."
          },
          "pageNo": {
            "type": "integer",
            "minimum": 1,
            "description": "Page number to request from Yuan Dian."
          }
        },
        "additionalProperties": false,
        "required": [
          "recordType"
        ],
        "description": "Input parameters for listing Yuan Dian enterprise execution risk records."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "total": {
            "description": "The upstream total record count when returned."
          },
          "pageNo": {
            "description": "The upstream page number when returned."
          },
          "pageSize": {
            "description": "The upstream page size when returned."
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A single Yuan Dian result item as returned by the API."
            },
            "description": "The normalized Yuan Dian result list."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian enterprise page response."
      }
    },
    {
      "id": "yuandian.list_enterprise_ip_assets",
      "service": "yuandian",
      "name": "list_enterprise_ip_assets",
      "description": "List Yuan Dian enterprise intellectual property assets.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "enterpriseId": {
            "type": "string",
            "minLength": 1,
            "description": "Yuan Dian enterprise identifier."
          },
          "creditCode": {
            "type": "string",
            "minLength": 1,
            "description": "Unified social credit code."
          },
          "assetType": {
            "type": "string",
            "enum": [
              "patent",
              "trademark",
              "software_copyright",
              "works_copyright",
              "icp"
            ],
            "description": "Intellectual property asset type to list."
          },
          "pageNo": {
            "type": "integer",
            "minimum": 1,
            "description": "Page number to request from Yuan Dian."
          }
        },
        "additionalProperties": false,
        "required": [
          "assetType"
        ],
        "description": "Input parameters for listing Yuan Dian enterprise intellectual property assets."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "total": {
            "description": "The upstream total record count when returned."
          },
          "pageNo": {
            "description": "The upstream page number when returned."
          },
          "pageSize": {
            "description": "The upstream page size when returned."
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A single Yuan Dian result item as returned by the API."
            },
            "description": "The normalized Yuan Dian result list."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian enterprise page response."
      }
    },
    {
      "id": "yuandian.list_enterprise_writs",
      "service": "yuandian",
      "name": "list_enterprise_writs",
      "description": "List Yuan Dian enterprise writs.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "enterpriseId": {
            "type": "string",
            "minLength": 1,
            "description": "Yuan Dian enterprise identifier."
          },
          "creditCode": {
            "type": "string",
            "minLength": 1,
            "description": "Unified social credit code."
          },
          "pageNo": {
            "type": "integer",
            "minimum": 1,
            "description": "Page number to request from Yuan Dian."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for paginating Yuan Dian enterprise writs."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "total": {
            "description": "The upstream total record count when returned."
          },
          "pageNo": {
            "description": "The upstream page number when returned."
          },
          "pageSize": {
            "description": "The upstream page size when returned."
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A single Yuan Dian result item as returned by the API."
            },
            "description": "The normalized Yuan Dian result list."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian enterprise page response."
      }
    },
    {
      "id": "yuandian.search_authoritative_cases",
      "service": "yuandian",
      "name": "search_authoritative_cases",
      "description": "Search authoritative Yuan Dian cases.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "caseNumber": {
            "type": "string",
            "minLength": 1,
            "description": "Case number filter."
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "description": "Case title keyword filter."
          },
          "causes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A case cause."
            },
            "description": "Case causes to include.",
            "minItems": 1
          },
          "courts": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A court name."
            },
            "description": "Courts to include.",
            "minItems": 1
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A case source."
            },
            "description": "Authoritative case sources to include.",
            "minItems": 1
          },
          "provinces": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A province-level region."
            },
            "description": "Province-level regions to include.",
            "minItems": 1
          },
          "documentTypes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A document type."
            },
            "description": "Document types to include.",
            "minItems": 1
          },
          "caseCategory": {
            "type": "string",
            "minLength": 1,
            "description": "Case category filter."
          },
          "judgmentStartDate": {
            "type": "string",
            "description": "Earliest judgment date to include.",
            "format": "date"
          },
          "judgmentEndDate": {
            "type": "string",
            "description": "Latest judgment date to include.",
            "format": "date"
          },
          "fullTextKeyword": {
            "type": "string",
            "minLength": 1,
            "description": "Full-text keyword query."
          },
          "searchMode": {
            "type": "string",
            "enum": [
              "and",
              "or"
            ],
            "description": "How Yuan Dian should combine case keyword terms."
          },
          "topK": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Maximum number of keyword search results to return."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for searching authoritative Yuan Dian cases. Provide at least one search filter."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "total": {
            "description": "The upstream total hit count or hit-count object."
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A single Yuan Dian result item as returned by the API."
            },
            "description": "The normalized Yuan Dian result list."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian case search response."
      }
    },
    {
      "id": "yuandian.search_clauses",
      "service": "yuandian",
      "name": "search_clauses",
      "description": "Search Yuan Dian statutory clauses by keyword and legal filters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "keyword": {
            "type": "string",
            "minLength": 1,
            "description": "Clause content keyword."
          },
          "searchMode": {
            "type": "string",
            "enum": [
              "and",
              "or",
              "AND",
              "OR"
            ],
            "description": "How Yuan Dian should combine regulation keyword terms."
          },
          "regulationName": {
            "type": "string",
            "minLength": 1,
            "description": "Regulation name filter."
          },
          "validityStatus": {
            "type": "string",
            "minLength": 1,
            "description": "Regulation validity status filter, such as current or invalid."
          },
          "region": {
            "type": "string",
            "minLength": 1,
            "description": "Region filter, such as central, Beijing, or Shanghai."
          },
          "effectLevel": {
            "type": "string",
            "minLength": 1,
            "description": "Primary legal effect level filter."
          },
          "issuingAuthority": {
            "type": "string",
            "minLength": 1,
            "description": "Issuing authority filter."
          },
          "publishStartDate": {
            "type": "string",
            "description": "Earliest publication date to include.",
            "format": "date"
          },
          "publishEndDate": {
            "type": "string",
            "description": "Latest publication date to include.",
            "format": "date"
          },
          "effectiveStartDate": {
            "type": "string",
            "description": "Earliest effective date to include.",
            "format": "date"
          },
          "effectiveEndDate": {
            "type": "string",
            "description": "Latest effective date to include.",
            "format": "date"
          },
          "topK": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Maximum number of keyword search results to return."
          }
        },
        "additionalProperties": false,
        "required": [
          "keyword"
        ],
        "description": "Input parameters for searching Yuan Dian statutory clauses."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A single Yuan Dian result item as returned by the API."
            },
            "description": "The normalized Yuan Dian result list."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian list response with the raw upstream payload preserved."
      }
    },
    {
      "id": "yuandian.search_enterprise_profiles",
      "service": "yuandian",
      "name": "search_enterprise_profiles",
      "description": "Search Yuan Dian enterprise profile candidates by name.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Enterprise name or stock short name."
          },
          "count": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Maximum number of enterprise profile candidates to return."
          }
        },
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "description": "Input parameters for searching Yuan Dian enterprise profile candidates by name."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A single Yuan Dian result item as returned by the API."
            },
            "description": "The normalized Yuan Dian result list."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian list response with the raw upstream payload preserved."
      }
    },
    {
      "id": "yuandian.search_enterprises",
      "service": "yuandian",
      "name": "search_enterprises",
      "description": "Search Yuan Dian enterprises by name.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Enterprise name, stock short name, or search keyword."
          },
          "topK": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Maximum number of keyword search results to return."
          }
        },
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "description": "Input parameters for searching Yuan Dian enterprises by name."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A single Yuan Dian result item as returned by the API."
            },
            "description": "The normalized Yuan Dian result list."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian list response with the raw upstream payload preserved."
      }
    },
    {
      "id": "yuandian.search_ordinary_cases",
      "service": "yuandian",
      "name": "search_ordinary_cases",
      "description": "Search ordinary Yuan Dian cases.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "caseNumber": {
            "type": "string",
            "minLength": 1,
            "description": "Case number filter."
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "description": "Case title keyword filter."
          },
          "causes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A case cause."
            },
            "description": "Case causes to include.",
            "minItems": 1
          },
          "courts": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A court name."
            },
            "description": "Courts to include.",
            "minItems": 1
          },
          "provinces": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A province-level region."
            },
            "description": "Province-level regions to include.",
            "minItems": 1
          },
          "documentTypes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A document type."
            },
            "description": "Document types to include.",
            "minItems": 1
          },
          "caseCategory": {
            "type": "string",
            "minLength": 1,
            "description": "Case category filter."
          },
          "judgmentStartDate": {
            "type": "string",
            "description": "Earliest judgment or close date to include.",
            "format": "date"
          },
          "judgmentEndDate": {
            "type": "string",
            "description": "Latest judgment or close date to include.",
            "format": "date"
          },
          "fullTextKeyword": {
            "type": "string",
            "minLength": 1,
            "description": "Full-text keyword query."
          },
          "analysisKeyword": {
            "type": "string",
            "minLength": 1,
            "description": "Analysis-process keyword query."
          },
          "searchMode": {
            "type": "string",
            "enum": [
              "and",
              "or"
            ],
            "description": "How Yuan Dian should combine case keyword terms."
          },
          "citedClauses": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A cited clause."
            },
            "description": "Cited statutory clauses to include.",
            "minItems": 1
          },
          "citedClauseSearchMode": {
            "type": "string",
            "enum": [
              "and",
              "or"
            ],
            "description": "How Yuan Dian should combine case keyword terms."
          },
          "topK": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Maximum number of keyword search results to return."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for searching ordinary Yuan Dian cases. Provide at least one search filter."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "total": {
            "description": "The upstream total hit count or hit-count object."
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A single Yuan Dian result item as returned by the API."
            },
            "description": "The normalized Yuan Dian result list."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian case search response."
      }
    },
    {
      "id": "yuandian.search_regulations",
      "service": "yuandian",
      "name": "search_regulations",
      "description": "Search Yuan Dian regulations by keyword, name, validity, region, effect level, authority, and dates.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "keyword": {
            "type": "string",
            "minLength": 1,
            "description": "Regulation content keyword."
          },
          "searchMode": {
            "type": "string",
            "enum": [
              "and",
              "or",
              "AND",
              "OR"
            ],
            "description": "How Yuan Dian should combine regulation keyword terms."
          },
          "regulationName": {
            "type": "string",
            "minLength": 1,
            "description": "Regulation name filter."
          },
          "validityStatus": {
            "type": "string",
            "minLength": 1,
            "description": "Regulation validity status filter, such as current or invalid."
          },
          "region": {
            "type": "string",
            "minLength": 1,
            "description": "Region filter, such as central, Beijing, or Shanghai."
          },
          "effectLevel": {
            "type": "string",
            "minLength": 1,
            "description": "Primary legal effect level filter."
          },
          "issuingAuthority": {
            "type": "string",
            "minLength": 1,
            "description": "Issuing authority filter."
          },
          "publishStartDate": {
            "type": "string",
            "description": "Earliest publication date to include.",
            "format": "date"
          },
          "publishEndDate": {
            "type": "string",
            "description": "Latest publication date to include.",
            "format": "date"
          },
          "effectiveStartDate": {
            "type": "string",
            "description": "Earliest effective date to include.",
            "format": "date"
          },
          "effectiveEndDate": {
            "type": "string",
            "description": "Latest effective date to include.",
            "format": "date"
          },
          "topK": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Maximum number of keyword search results to return."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for searching Yuan Dian regulations. Provide at least one search filter."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response status when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A single Yuan Dian result item as returned by the API."
            },
            "description": "The normalized Yuan Dian result list."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian list response with the raw upstream payload preserved."
      }
    },
    {
      "id": "yuandian.semantic_search_cases",
      "service": "yuandian",
      "name": "semantic_search_cases",
      "description": "Run semantic search across Yuan Dian cases.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "description": "Natural-language case search query text."
          },
          "rewriteQuery": {
            "type": "boolean",
            "description": "Whether Yuan Dian should rewrite the query before searching."
          },
          "filter": {
            "type": "object",
            "properties": {
              "caseCategory": {
                "type": "string",
                "minLength": 1,
                "description": "Case category filter."
              },
              "causes": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "A case cause."
                },
                "description": "Case causes to include.",
                "minItems": 1
              },
              "documentTypeCodes": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "A Yuan Dian document type code."
                },
                "description": "Document type codes to include.",
                "minItems": 1
              },
              "judgmentStartDate": {
                "type": "string",
                "description": "Earliest close or judgment date to include.",
                "format": "date"
              },
              "judgmentEndDate": {
                "type": "string",
                "description": "Latest close or judgment date to include.",
                "format": "date"
              },
              "authoritativeOnly": {
                "type": "boolean",
                "description": "Whether to search only authoritative cases."
              },
              "courts": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "A court name."
                },
                "description": "Courts to include.",
                "minItems": 1
              },
              "sources": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "A case source."
                },
                "description": "Authoritative case sources to include.",
                "minItems": 1
              },
              "courtLevel": {
                "type": "string",
                "minLength": 1,
                "description": "Court level filter, such as basic, intermediate, high, or supreme."
              },
              "province": {
                "type": "string",
                "minLength": 1,
                "description": "Province-level region filter."
              },
              "city": {
                "type": "string",
                "minLength": 1,
                "description": "City-level region filter."
              }
            },
            "additionalProperties": false,
            "description": "Optional filters for Yuan Dian case semantic search."
          },
          "returnCount": {
            "type": "integer",
            "minimum": 1,
            "description": "Number of semantic search results to return."
          }
        },
        "additionalProperties": false,
        "required": [
          "query"
        ],
        "description": "Input parameters for semantic search across Yuan Dian cases."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A single Yuan Dian result item as returned by the API."
            },
            "description": "The normalized Yuan Dian result list."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian semantic search response."
      }
    },
    {
      "id": "yuandian.semantic_search_regulations",
      "service": "yuandian",
      "name": "semantic_search_regulations",
      "description": "Run semantic search across Yuan Dian statutory clauses.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "description": "Natural-language legal query text."
          },
          "rewriteQuery": {
            "type": "boolean",
            "description": "Whether Yuan Dian should rewrite the query before searching."
          },
          "filter": {
            "type": "object",
            "properties": {
              "validityStatuses": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "A regulation validity status."
                },
                "description": "Regulation validity statuses to include.",
                "minItems": 1
              },
              "effectLevels": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "A primary legal effect level."
                },
                "description": "Primary legal effect levels to include.",
                "minItems": 1
              },
              "effectiveStartDate": {
                "type": "string",
                "description": "Earliest effective date to include.",
                "format": "date"
              },
              "effectiveEndDate": {
                "type": "string",
                "description": "Latest effective date to include.",
                "format": "date"
              }
            },
            "additionalProperties": false,
            "description": "Optional filters for Yuan Dian regulation semantic search."
          },
          "returnCount": {
            "type": "integer",
            "minimum": 1,
            "description": "Number of semantic search results to return."
          }
        },
        "additionalProperties": false,
        "required": [
          "query"
        ],
        "description": "Input parameters for semantic search across Yuan Dian statutory clauses."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The Yuan Dian business response code."
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "description": "The Yuan Dian response message when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A single Yuan Dian result item as returned by the API."
            },
            "description": "The normalized Yuan Dian result list."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Yuan Dian response payload."
          }
        },
        "additionalProperties": false,
        "description": "A normalized Yuan Dian semantic search response."
      }
    }
  ]
}
