Skip to content

ollama_hypothesis_drill

Hypothesis drill. DRILL. Zoom into ONE hypothesis from an existing incident_pack artifact. No re-running triage + brief. Pass artifact_slug (from ollama_artifact_list), hypothesis_index (0-based into that artifact’s root_cause_hypotheses), optional extra_artifact_dirs[]. Server loads the artifact, extracts the targeted hypothesis + its linked evidence, and runs a Deep-tier focused sub-brief. Returns {parent_artifact_slug, drilled_hypothesis:{statement, confidence, evidence_cited:[{id, preview}], supporting_reasoning, ruled_out_reasons?}, other_hypotheses_summary:[{index, summary}], weak}. Invalid index → HYPOTHESIS_INDEX_INVALID with the valid range. Non-incident or missing slug → ARTIFACT_NOT_FOUND with a next-step hint.

Parameter Type Required Default Description
artifact_slug string yes Slug of an existing incident_pack artifact. See ollama_artifact_list for available slugs.
hypothesis_index integer yes 0-based index into the artifact’s root_cause_hypotheses array.
extra_artifact_dirs string[] no Extra read-only search dirs (same semantics as artifact_list / artifact_read).

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": {
"artifact_slug": {
"type": "string",
"minLength": 1,
"description": "Slug of an existing incident_pack artifact. See ollama_artifact_list for available slugs."
},
"hypothesis_index": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "0-based index into the artifact's root_cause_hypotheses array."
},
"extra_artifact_dirs": {
"description": "Extra read-only search dirs (same semantics as artifact_list / artifact_read).",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"required": [
"artifact_slug",
"hypothesis_index"
]
}

Every tool returns the standard envelope — tier_used, model, tokens_in/tokens_out, elapsed_ms, backend provenance, warnings. See Envelope & tiers.

Schema + handler: src/tools/hypothesisDrill.ts · registration: src/index.ts


Back to the Tool Reference.