lookup_newspaper_id
Convert between a National Library package ID (e.g. dark-37858) and the public tidningar.kb.se URL (e.g. https://tidningar.kb.se/dxqth86q2n2zwg9).
Instructions
Convert bidirectionally between the National Library's internal package ID (e.g. 'dark-37858')
and the public web URL on tidningar.kb.se (e.g. 'https://tidningar.kb.se/dxqth86q2n2zwg9').
Args:
id_or_url: A data.kb.se package ID, or a URL/ID from tidningar.kb.se.
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": {
"id_or_url": "<id_or_url>"
},
"name": "lookup_newspaper_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |