noark5_create_klasse
Create a new klasse (class) in a Noark 5 archive under a specified parent. Provide parent URL and title, with optional fields for ID, description, keywords, and closure details.
Instructions
Create a new klasse (class) under a klassifikasjonssystem or another klasse.
Args: parent_url: The self-href URL of the parent (klassifikasjonssystem or klasse). tittel: The title of the class. attributes: Optional JSON object with additional fields. All optional: klasseID, beskrivelse, noekkelord, avsluttetDato, avsluttetAv, referanseAvsluttetAv.
Returns details of the created klasse 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": {
"parent_url": "<parent_url>",
"tittel": "<tittel>"
},
"name": "noark5_create_klasse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tittel | Yes | ||
| attributes | No | {} | |
| parent_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |