ollama_artifact_onboarding_section_snippet
Onboarding-section snippet. ARTIFACT. Renders a handbook-ready ## What this repo is section from a repo_pack artifact — thesis, key surfaces, read-next, runtime hints. Investigative tone preserved (read-next is LOOK AT, not prescriptive). No model call. Returns {rendered, metadata}.
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.