inputSchema
{
"type": "object",
"required": [
"stage",
"caseTrack",
"knowledge",
"apiKeys"
],
"properties": {
"stage": {
"enum": [
"strategy",
"detail"
],
"type": "string",
"description": "strategy=诉讼策略总纲;detail=举证/质证/代理意见细化(须带 previousStrategyOutput)"
},
"apiKeys": {
"type": "object",
"required": [
"llm"
],
"properties": {
"llm": {
"type": "object",
"required": [
"apiKey"
],
"properties": {
"model": {
"type": "string"
},
"apiKey": {
"type": "string"
},
"baseUrl": {
"type": "string"
},
"provider": {
"enum": [
"deepseek",
"openai",
"anthropic"
],
"type": "string"
}
}
}
}
},
"caseTitle": {
"type": "string",
"description": "案名或标题(可选)"
},
"caseTrack": {
"enum": [
"civil",
"criminal_defense",
"administrative"
],
"type": "string",
"description": "民事 / 刑事辩护 / 行政"
},
"knowledge": {
"type": "object",
"required": [
"proceduralLaw",
"evidenceRules"
],
"properties": {
"cases": {
"type": "string",
"description": "案例知识(可选)"
},
"evidenceRules": {
"type": "string",
"description": "证据规则知识(必选)"
},
"proceduralLaw": {
"type": "string",
"description": "程序法知识(必选)"
}
}
},
"opponentAnswerText": {
"type": "string",
"description": "对方答辩状、意见等"
},
"courtProcedureNotes": {
"type": "string",
"description": "程序与庭审相关说明(可选)"
},
"opponentEvidenceText": {
"type": "string",
"description": "对方证据说明"
},
"previousStrategyOutput": {
"type": "object",
"description": "stage=detail 时必填:第一阶段返回的 strategyResult 对象(宿主原样传入)"
},
"ourEvidenceMaterialsText": {
"type": "string",
"description": "我方证据清单或材料说明"
},
"complaintOrIndictmentText": {
"type": "string",
"description": "起诉书、公诉书、申请书等"
}
}
}
outputSchema
{
"type": "object",
"required": [
"stage",
"caseTrack",
"disclaimer"
],
"properties": {
"stage": {
"enum": [
"strategy",
"detail"
],
"type": "string"
},
"caseTrack": {
"enum": [
"civil",
"criminal_defense",
"administrative"
],
"type": "string"
},
"disclaimer": {
"type": "string"
},
"detailResult": {
"type": "object",
"properties": {
"evidencePlan": {
"type": "string"
},
"agencyOpinionDraft": {
"type": "string"
},
"additionalChecklist": {
"type": "array",
"items": {
"type": "string"
}
},
"crossExaminationOutline": {
"type": "string"
}
}
},
"strategyResult": {
"type": "object",
"properties": {
"legalIssues": {
"type": "array",
"items": {
"type": "string"
}
},
"caseSynopsis": {
"type": "string"
},
"disputeFocus": {
"type": "array",
"items": {
"type": "string"
}
},
"riskAndUnknowns": {
"type": "array",
"items": {
"type": "string"
}
},
"proceduralStrategy": {
"type": "string"
},
"nextStepHintsForDetail": {
"type": "string"
},
"evidenceStrategyOverview": {
"type": "string"
}
}
}
}
}