inputSchema
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "待检查的文本内容"
},
"workflow": {
"enum": [
"contract",
"litigation"
],
"type": "string",
"default": "contract",
"description": "工作流场景:contract(合同)检查承诺性表述;litigation(诉讼)检查案号和当事人信息"
}
}
}
outputSchema
{
"type": "object",
"required": [
"compliant",
"violations",
"hints",
"workflow"
],
"properties": {
"hints": {
"type": "array",
"items": {
"type": "string"
},
"description": "建议项列表(仅供参考)"
},
"workflow": {
"type": "string",
"description": "实际应用的工作流"
},
"compliant": {
"type": "boolean",
"description": "是否合规(无违规项)"
},
"violations": {
"type": "array",
"items": {
"type": "string"
},
"description": "违规项列表(必须处理)"
}
}
}