diff_provision
Track changes in a Swedish statute provision between two dates. Returns a unified diff and change summary for legal revisions.
Instructions
Shows what changed in a Swedish statute provision between two dates. Returns a unified diff and change summary. Premium feature — requires Ansvar Intelligence Portal.
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": {
"document_id": "<document_id>",
"provision_ref": "<provision_ref>",
"from_date": "<from_date>"
},
"name": "diff_provision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_date | No | End date in ISO format (defaults to today) | |
| from_date | Yes | Start date in ISO format (e.g., "2018-05-25") | |
| document_id | Yes | SFS number (e.g., "2018:218") or statute title | |
| provision_ref | Yes | Provision reference (e.g., "1:1", "3:2") |