noark5_create_journalpost
Create a new journalpost (registry entry) attached to a specified saksmappe. Provide the parent saksmappe URL, a title, and optional attributes to define the entry; returns the created journalpost's details.
Instructions
Create a new journalpost (registry entry) under a saksmappe.
Args: saksmappe_url: The self-href URL of the parent saksmappe. tittel: The title of the registry entry. attributes: Optional JSON object with additional fields. All optional: journalaar, journalsekvensnummer, journalpostnummer, journalposttype, journalstatus, journaldato, dokumentetsDato, mottattDato, sendtDato, forfallsdato, offentlighetsvurdertDato, antallVedlegg, utlaantDato, utlaantTil, referanseUtlaantTil, journalenhet. Also inherits from Registrering: arkivertDato, arkivertAv, referanseArkivertAv, registreringsID, offentligTittel, beskrivelse, noekkelord, forfatter, dokumentmedium, oppbevaringssted.
Returns details of the created journalpost 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": {
"saksmappe_url": "<saksmappe_url>",
"tittel": "<tittel>"
},
"name": "noark5_create_journalpost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tittel | Yes | ||
| attributes | No | {} | |
| saksmappe_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |