CreateClient
Go · package github.com/muthuishere/toolnexus/golang · SPEC §8
{/* TODO:signature */}The unified client: system prompt, skills injection, parallel and chained tool calls, retries, memory.
When to use it
Section titled “When to use it”TODO: the situation this entry point is for.
Why this and not the alternative
Section titled “Why this and not the alternative”Examples
Section titled “Examples”1. TODO — the smallest useful call
Section titled “1. TODO — the smallest useful call”// TODO2. TODO — the realistic case
Section titled “2. TODO — the realistic case”// TODO3. TODO — the full surface
Section titled “3. TODO — the full surface”// TODOSee also
Section titled “See also”Client.Run— Send a prompt, let the loop call tools until the model stops, get a RunResult.Client.Stream— The streaming loop: text deltas, tool-call events, and suspension events as they happen.Hooks— Intercept before/after model calls and tool calls: audit, redact, veto, or rewrite.Conversation— Keep a transcript across turns so the model remembers what it already did.