ollama_artifact_incident_note_snippet
Incident-note snippet. ARTIFACT. Renders a compact incident-note markdown fragment from an incident_pack artifact — top hypotheses, affected surfaces, next checks, with an evidence-aware operator tone. No model call, no re-render; pure derivation from stored JSON. Returns {rendered, metadata}. For the full artifact use artifact_read; for the whole markdown as a reviewable file use artifact_export_to_path.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
slug |
string | yes | — | Slug of the source artifact (from artifact_list). |
extra_artifact_dirs |
string[] | no | — | Extra read-only search dirs (same as artifact_read). |
Full input schema
Section titled “Full input schema”The JSON Schema below is generated from the same zod schema the server validates against at the wire — it cannot drift from runtime behavior.
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "slug": { "type": "string", "minLength": 1, "description": "Slug of the source artifact (from artifact_list)." }, "extra_artifact_dirs": { "description": "Extra read-only search dirs (same as artifact_read).", "type": "array", "items": { "type": "string", "minLength": 1 } } }, "required": [ "slug" ]}Envelope
Section titled “Envelope”Every tool returns the standard envelope — tier_used, model, tokens_in/tokens_out, elapsed_ms, backend provenance, warnings. See Envelope & tiers.
Source
Section titled “Source”Schema + handler: src/tools/artifactSnippets.ts · registration: src/index.ts
Back to the Tool Reference.