Publish this assistant

Other assistants and external MCP clients can call this assistant once it's published. They'll see the description below — write it first.

What callers receive

Offered to callers as "chat_dibk-arkivslurp", described by the Description above. Parameters:

{
    "q": {
        "type": "string",
        "description": "The query to should be answered by the LLM.",
        "example": "What is the weather like in London?",
        "minLength": 1,
        "format": "plain-text"
    },
    "chatId": {
        "type": "string",
        "description": "The chat id to be used for the conversation.",
        "example": "1234567890",
        "minLength": 1,
        "format": "plain-text"
    },
    "tags": {
        "type": "array",
        "items": {
            "type": "string",
            "enum": [
                "dibk-tek17",
                "dibk-sak10",
                "dibk-dok",
                "dibk-pbl",
                "dibk-documaster",
                "dibk-tolkningsuttalelser",
                "svar",
                "list"
            ]
        },
        "description": "Tags supported by 'dibk-arkivslurp', used to narrow which sources it consults. Stitched: dibk-tek17 (TEK17), dibk-sak10 (SAK10), dibk-dok (DOK), dibk-pbl (PBL), dibk-documaster (Documaster), dibk-tolkningsuttalelser (Tolkningsuttalelser); mode: svar (Svar), list (Liste)",
        "example": "[\"dibk-tek17\",\"dibk-sak10\"]",
        "minLength": 1,
        "format": "plain-text"
    },
    "filters": {
        "type": "array",
        "items": {
            "type": "string"
        },
        "description": "Search filters to be used when querying for relevant sources to the inquiry.",
        "example": "[\"field1:value1\", \"field2:value2\"]",
        "minLength": 1,
        "format": "plain-text"
    },
    "context": {
        "type": "array",
        "items": {
            "type": "string"
        },
        "description": "Supplied context for the inquiry.",
        "example": "[\"context1\", \"context2\"]",
        "minLength": 1,
        "format": "plain-text"
    },
    "MappedId": {
        "type": "integer",
        "description": "The MappedId of a previous search result. If provided, its DocId is used to restrict the sub-assistant's search to that document.",
        "example": 1
    },
    "DocId": {
        "type": "string",
        "description": "The DocId of a document to restrict the sub-assistant's search to. Use either this or MappedId."
    }
}

Tool use

Whether this assistant may call tools at all, and how many tool rounds a single answer may take.

Available tools

Every tool function this assistant can see, grouped by capability. "Default" follows the function's own setting.

Search

Inspect search result (inspect_search_result)
Inspect the fields of a previous search result by its MappedId. No new search is performed — this reads from entries already returned in this conversation, so i…
Details
Inspect the fields of a previous search result by its MappedId. No new search is performed — this reads from entries already returned in this conversation, so it is safe to call multiple times. The MappedId may come from a prior search tool call or from a [¤id:<MappedId>¤] reference in the chat history. Returns all available fields except Thumbnail and Raw. Pass an optional 'fields' array to restrict the response.

Replaces the description above for this assistant only. Use {description} to insert the tool's underlying description — for search tools, the datasource's Description. Blank = inherit.

TellEm script evaluated before each query with the inquiry as $; the tool is offered only when it returns a truthy value. Example: $.Tags.contains("kilde:tek17") — Blank = always offered.

Parameters
MappedId (integer, required)
The MappedId of a previous search result entry
Search results (search_results)
List every search result currently in the inquiry, returning MappedId, DocId, and Title for each. Brief is returned in place of Title when Title is absent.
Details
List every search result currently in the inquiry, returning MappedId, DocId, and Title for each. Brief is returned in place of Title when Title is absent.

Replaces the description above for this assistant only. Use {description} to insert the tool's underlying description — for search tools, the datasource's Description. Blank = inherit.

TellEm script evaluated before each query with the inquiry as $; the tool is offered only when it returns a truthy value. Example: $.Tags.contains("kilde:tek17") — Blank = always offered.

Parameters
This function takes no parameters.

Assistant

Chat dibk-tek17 (chat_dibk-tek17)
TEK17
Details
TEK17

Replaces the description above for this assistant only. Use {description} to insert the tool's underlying description — for search tools, the datasource's Description. Blank = inherit.

TellEm script evaluated before each query with the inquiry as $; the tool is offered only when it returns a truthy value. Example: $.Tags.contains("kilde:tek17") — Blank = always offered.

Parameters
q (string, required)
The query to should be answered by the LLM.
example: What is the weather like in London?
minLength: 1
format: plain-text
chatId (string)
The chat id to be used for the conversation.
example: 1234567890
minLength: 1
format: plain-text
tags (array)
Tags supported by 'dibk-tek17', used to narrow which sources it consults. mode: svar (Svar), list (Liste)
items: {"type":"string","enum":["svar","list"]}
example: ["svar","list"]
minLength: 1
format: plain-text
filters (array)
Search filters to be used when querying for relevant sources to the inquiry.
items: {"type":"string"}
example: ["field1:value1", "field2:value2"]
minLength: 1
format: plain-text
context (array)
Supplied context for the inquiry.
items: {"type":"string"}
example: ["context1", "context2"]
minLength: 1
format: plain-text
MappedId (integer)
The MappedId of a previous search result. If provided, its DocId is used to restrict the sub-assistant's search to that document.
example: 1
DocId (string)
The DocId of a document to restrict the sub-assistant's search to. Use either this or MappedId.
Chat dibk-sak10 (chat_dibk-sak10)
SAK10
Details
SAK10

Replaces the description above for this assistant only. Use {description} to insert the tool's underlying description — for search tools, the datasource's Description. Blank = inherit.

TellEm script evaluated before each query with the inquiry as $; the tool is offered only when it returns a truthy value. Example: $.Tags.contains("kilde:tek17") — Blank = always offered.

Parameters
q (string, required)
The query to should be answered by the LLM.
example: What is the weather like in London?
minLength: 1
format: plain-text
chatId (string)
The chat id to be used for the conversation.
example: 1234567890
minLength: 1
format: plain-text
tags (array)
The tags to be used when querying for relevant sources to the inquiry.
items: {"type":"string"}
example: ["category1", "category2"]
minLength: 1
format: plain-text
filters (array)
Search filters to be used when querying for relevant sources to the inquiry.
items: {"type":"string"}
example: ["field1:value1", "field2:value2"]
minLength: 1
format: plain-text
context (array)
Supplied context for the inquiry.
items: {"type":"string"}
example: ["context1", "context2"]
minLength: 1
format: plain-text
MappedId (integer)
The MappedId of a previous search result. If provided, its DocId is used to restrict the sub-assistant's search to that document.
example: 1
DocId (string)
The DocId of a document to restrict the sub-assistant's search to. Use either this or MappedId.
Chat dibk-dok (chat_dibk-dok)
DOK
Details
DOK

Replaces the description above for this assistant only. Use {description} to insert the tool's underlying description — for search tools, the datasource's Description. Blank = inherit.

TellEm script evaluated before each query with the inquiry as $; the tool is offered only when it returns a truthy value. Example: $.Tags.contains("kilde:tek17") — Blank = always offered.

Parameters
q (string, required)
The query to should be answered by the LLM.
example: What is the weather like in London?
minLength: 1
format: plain-text
chatId (string)
The chat id to be used for the conversation.
example: 1234567890
minLength: 1
format: plain-text
tags (array)
The tags to be used when querying for relevant sources to the inquiry.
items: {"type":"string"}
example: ["category1", "category2"]
minLength: 1
format: plain-text
filters (array)
Search filters to be used when querying for relevant sources to the inquiry.
items: {"type":"string"}
example: ["field1:value1", "field2:value2"]
minLength: 1
format: plain-text
context (array)
Supplied context for the inquiry.
items: {"type":"string"}
example: ["context1", "context2"]
minLength: 1
format: plain-text
MappedId (integer)
The MappedId of a previous search result. If provided, its DocId is used to restrict the sub-assistant's search to that document.
example: 1
DocId (string)
The DocId of a document to restrict the sub-assistant's search to. Use either this or MappedId.
Chat dibk-pbl (chat_dibk-pbl)
PBL
Details
PBL

Replaces the description above for this assistant only. Use {description} to insert the tool's underlying description — for search tools, the datasource's Description. Blank = inherit.

TellEm script evaluated before each query with the inquiry as $; the tool is offered only when it returns a truthy value. Example: $.Tags.contains("kilde:tek17") — Blank = always offered.

Parameters
q (string, required)
The query to should be answered by the LLM.
example: What is the weather like in London?
minLength: 1
format: plain-text
chatId (string)
The chat id to be used for the conversation.
example: 1234567890
minLength: 1
format: plain-text
tags (array)
The tags to be used when querying for relevant sources to the inquiry.
items: {"type":"string"}
example: ["category1", "category2"]
minLength: 1
format: plain-text
filters (array)
Search filters to be used when querying for relevant sources to the inquiry.
items: {"type":"string"}
example: ["field1:value1", "field2:value2"]
minLength: 1
format: plain-text
context (array)
Supplied context for the inquiry.
items: {"type":"string"}
example: ["context1", "context2"]
minLength: 1
format: plain-text
MappedId (integer)
The MappedId of a previous search result. If provided, its DocId is used to restrict the sub-assistant's search to that document.
example: 1
DocId (string)
The DocId of a document to restrict the sub-assistant's search to. Use either this or MappedId.
Chat dibk-documaster (chat_dibk-documaster)
Documaster
Details
Documaster

Replaces the description above for this assistant only. Use {description} to insert the tool's underlying description — for search tools, the datasource's Description. Blank = inherit.

TellEm script evaluated before each query with the inquiry as $; the tool is offered only when it returns a truthy value. Example: $.Tags.contains("kilde:tek17") — Blank = always offered.

Parameters
q (string, required)
The query to should be answered by the LLM.
example: What is the weather like in London?
minLength: 1
format: plain-text
chatId (string)
The chat id to be used for the conversation.
example: 1234567890
minLength: 1
format: plain-text
tags (array)
The tags to be used when querying for relevant sources to the inquiry.
items: {"type":"string"}
example: ["category1", "category2"]
minLength: 1
format: plain-text
filters (array)
Search filters to be used when querying for relevant sources to the inquiry.
items: {"type":"string"}
example: ["field1:value1", "field2:value2"]
minLength: 1
format: plain-text
context (array)
Supplied context for the inquiry.
items: {"type":"string"}
example: ["context1", "context2"]
minLength: 1
format: plain-text
MappedId (integer)
The MappedId of a previous search result. If provided, its DocId is used to restrict the sub-assistant's search to that document.
example: 1
DocId (string)
The DocId of a document to restrict the sub-assistant's search to. Use either this or MappedId.
Chat dibk-tolkningsuttalelser (chat_dibk-tolkningsuttalelser)
Tolkningsuttalelser
Details
Tolkningsuttalelser

Replaces the description above for this assistant only. Use {description} to insert the tool's underlying description — for search tools, the datasource's Description. Blank = inherit.

TellEm script evaluated before each query with the inquiry as $; the tool is offered only when it returns a truthy value. Example: $.Tags.contains("kilde:tek17") — Blank = always offered.

Parameters
q (string, required)
The query to should be answered by the LLM.
example: What is the weather like in London?
minLength: 1
format: plain-text
chatId (string)
The chat id to be used for the conversation.
example: 1234567890
minLength: 1
format: plain-text
tags (array)
The tags to be used when querying for relevant sources to the inquiry.
items: {"type":"string"}
example: ["category1", "category2"]
minLength: 1
format: plain-text
filters (array)
Search filters to be used when querying for relevant sources to the inquiry.
items: {"type":"string"}
example: ["field1:value1", "field2:value2"]
minLength: 1
format: plain-text
context (array)
Supplied context for the inquiry.
items: {"type":"string"}
example: ["context1", "context2"]
minLength: 1
format: plain-text
MappedId (integer)
The MappedId of a previous search result. If provided, its DocId is used to restrict the sub-assistant's search to that document.
example: 1
DocId (string)
The DocId of a document to restrict the sub-assistant's search to. Use either this or MappedId.

Context

Context read (context_read)
Read the current context text with all pending edits applied. Use this to verify the state after making edits.
Details
Read the current context text with all pending edits applied. Use this to verify the state after making edits.

Replaces the description above for this assistant only. Use {description} to insert the tool's underlying description — for search tools, the datasource's Description. Blank = inherit.

TellEm script evaluated before each query with the inquiry as $; the tool is offered only when it returns a truthy value. Example: $.Tags.contains("kilde:tek17") — Blank = always offered.

Parameters
This function takes no parameters.
Context edit (context_edit)
Edit the context text by finding and replacing text. The old_text must match exactly and uniquely within the current context.
Details
Edit the context text by finding and replacing text. The old_text must match exactly and uniquely within the current context.

Replaces the description above for this assistant only. Use {description} to insert the tool's underlying description — for search tools, the datasource's Description. Blank = inherit.

TellEm script evaluated before each query with the inquiry as $; the tool is offered only when it returns a truthy value. Example: $.Tags.contains("kilde:tek17") — Blank = always offered.

Parameters
old_text (string, required)
The exact text to find. Must match uniquely — include enough surrounding context to be unambiguous.
new_text (string, required)
The replacement text
Context render (context_render)
Render the prompt you are editing — with your pending edits applied — exactly as it will be sent to the LLM: every (>...<) value injector and (>! ... <) TellEm…
Details
Render the prompt you are editing — with your pending edits applied — exactly as it will be sent to the LLM: every (>...<) value injector and (>! ... <) TellEm script is resolved against the current test run's data (query, search results, history). Use it to validate a change before recommending it — it catches broken section markers, unresolved injectors, and failing scripts. Returns the rendered prompt; if an embedded script fails, the status is 'error' and the failure is described. Requires a test run.

Replaces the description above for this assistant only. Use {description} to insert the tool's underlying description — for search tools, the datasource's Description. Blank = inherit.

TellEm script evaluated before each query with the inquiry as $; the tool is offered only when it returns a truthy value. Example: $.Tags.contains("kilde:tek17") — Blank = always offered.

Parameters
This function takes no parameters.

Tasks

Todo update (todo_update)
Update checklist items with their results — e.g. record the user's answers to clarifications. Settle every item the latest message resolves in one call. The che…
Details
Update checklist items with their results — e.g. record the user's answers to clarifications. Settle every item the latest message resolves in one call. The checklist starts fresh each turn: to keep an answer recorded in the previous turn, confirm it by passing its key without a result, in the same call as the new answers. Updating an item again overwrites, so a corrected answer replaces the old one. Items: (the current checklist has no keyed items to address)

Replaces the description above for this assistant only. Use {description} to insert the tool's underlying description — for search tools, the datasource's Description. Blank = inherit.

TellEm script evaluated before each query with the inquiry as $; the tool is offered only when it returns a truthy value. Example: $.Tags.contains("kilde:tek17") — Blank = always offered.

Parameters
items (array, required)
The checklist items to update
items: {"type":"object","properties":{"key":{"type":"string","description":"The item's key, as listed in the function description"},"result":{"type":"string","description":"The answer or conclusion for the item, condensed to the substance. Omit to confirm the previous turn's answer for this key as still applying"},"status":{"type":"string","enum":["done","failed"],"description":"How the item was settled: 'done' (default) when it was resolved, 'failed' when it was addressed but could not be resolved (e.g. the user was asked but could not answer)"}},"required":["key"]}
Todo status (todo_status)
Read the checklist of clarifications with each item's current status ('Pending', 'Done' or 'Failed'), the recorded answers, and the answered/failed/pending coun…
Details
Read the checklist of clarifications with each item's current status ('Pending', 'Done' or 'Failed'), the recorded answers, and the answered/failed/pending counts. Pass pending_only to see just what is still unsettled. Pass previous to read the previous turn's checklist instead — the answers a key-only todo_update entry confirms.

Replaces the description above for this assistant only. Use {description} to insert the tool's underlying description — for search tools, the datasource's Description. Blank = inherit.

TellEm script evaluated before each query with the inquiry as $; the tool is offered only when it returns a truthy value. Example: $.Tags.contains("kilde:tek17") — Blank = always offered.

Parameters
pending_only (boolean)
Return only items not yet settled
default: false
previous (boolean)
Return the previous turn's checklist instead of this turn's; empty on the first turn
default: false

Utility

Present time (present_time)
Fetches the date and time, including day of week.
Details
Fetches the date and time, including day of week.

Replaces the description above for this assistant only. Use {description} to insert the tool's underlying description — for search tools, the datasource's Description. Blank = inherit.

TellEm script evaluated before each query with the inquiry as $; the tool is offered only when it returns a truthy value. Example: $.Tags.contains("kilde:tek17") — Blank = always offered.

Parameters
This function takes no parameters.