Court cases: draft the document
cc_draftAssembles the Ukrainian text of the lawsuit, the complaint to a higher authority, or the statement of defence deterministically from the service's checked blocks, with the court, fee, deadline and legal basis filled in. The parties stay as placeholders ({{ПОЗИВАЧ}}, {{РНОКПП}}, {{АДРЕСА_ПОЗИВАЧА}} …): never send personal data. Returns the text, the facts still missing (ask the user and call again), checks, sources and open_link — the same answers opened in the wizard on courtcases.app, where the user adds personal data on their device and gets DOCX/PDF.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subject": "<subject>"
},
"name": "cc_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | claim (lawsuit, default), complaint (to a higher authority, where available), response (statement of defence). | |
| court | No | Court id, to choose among options from cc_venue. | |
| facts | No | Facts of the case keyed by the wizard field path, from cc_draft missing_facts[].path (e.g. "act.date": "2026-10-01", "act.number": "123", "claim.amount": "15000"). No personal data. | |
| filing | No | Electronic court (default) or paper. | |
| subject | Yes | Subject id from cc_topics (P01–P56). | |
| appealed | No | A complaint to a higher authority was filed before the lawsuit. | |
| filed_on | No | Filing date. Default: today in Kyiv (YYYY-MM-DD). | |
| exemption | No | Court fee exemption, if the user has one. | |
| plaintiff | No | About the person — no names or numbers. | |
| violations | No | Violation codes from cc_qualify, as chosen by the user. | |
| local_court | No | Local general court (for local-court subjects). | |
| defendant_name | No | Name of the authority as in the decision's header (an organisation, not a person). | |
| defendant_region | No | Region of the authority that made the decision. |