LlmTool
interface LlmTool
A tool the LLM may call during a completion.
Implementations are suspend so I/O-bound tools can integrate cleanly with structured concurrency. Cancellation of the surrounding coroutine cancels the tool execution cooperatively — implementations should honour ensureActive() in long-running loops.