format_citation
Format Icelandic legal citations to standard conventions, including full, short, or pinpoint formats, ensuring consistent legal references.
Instructions
Format an Icelandic legal citation per standard conventions.
Formats:
full: "L. nr. 90/2018 14. gr."
short: "90/2018 14. gr."
pinpoint: "14. gr."
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 |