Срок: последен ден
srok_deadlineCount a Bulgarian legal deadline the way the Civil Procedure Code does (ГПК чл. 60): days count from the day after the event; weeks, months and years end on the corresponding date; an end on a non-working day moves to the next working day. Returns the last day and each step with its reason. Other laws can have their own rules: tell the user to check the letter or the law.
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": {
"from": "<from>",
"amount": "<amount>",
"unit": "<unit>"
},
"name": "srok_deadline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | The day of the event the deadline runs from, YYYY-MM-DD (e.g. the day a letter was received). | |
| unit | Yes | ||
| amount | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | The last day to act, YYYY-MM-DD. | |
| from | Yes | ||
| rule | Yes | ||
| unit | Yes | ||
| amount | Yes | ||
| stepsBg | Yes | ||
| citations | Yes | Every source the result rests on. Cite url; give checkedOn or publishedOn. | |
| movedOver | No | ||
| countedEnd | No | Where the count lands before the non-working-day rule. | |
| calendarChecked | Yes |