noark5_create_dokumentbeskrivelse
Create a new document description (dokumentbeskrivelse) under a registrering by providing its URL and a title, with optional metadata like document type, status, author, and external reference.
Instructions
Create a new dokumentbeskrivelse (document description) under a registrering.
Args: registrering_url: The self-href URL of the parent registrering. tittel: The title of the document description. attributes: Optional JSON object with additional fields. All optional: dokumenttype, dokumentstatus, beskrivelse, forfatter, dokumentmedium, oppbevaringssted, tilknyttetRegistreringSom, dokumentnummer, tilknyttetDato, tilknyttetAv, referanseTilknyttetAv, eksternReferanse.
Returns details of the created dokumentbeskrivelse including its URL.
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": {
"registrering_url": "<registrering_url>",
"tittel": "<tittel>"
},
"name": "noark5_create_dokumentbeskrivelse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tittel | Yes | ||
| attributes | No | {} | |
| registrering_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |