format_citation
Formats Danish legal citations to standard conventions with full, short, or pinpoint options. Ensures citations follow Danish legal formatting rules.
Instructions
Format a Danish legal citation per standard conventions.
Formats:
full: "document 2018:218 3 kap. 5 §"
short: "2018:218 3:5"
pinpoint: "3 kap. 5 §"
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": {
"citation": "<citation>"
},
"name": "format_citation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format (default: "full") | |
| citation | Yes | Citation string to format |