Skip to content

Tools

Tools let the LLM call host code. The provider-neutral primitives and their guides live in @johannes.latzel/llm-chat-tool; this engine registers them through service.tools().add(...).

Package site: llm-chat-tool. OpenAI provider: llm-chat-openai.

Tool package guides

The engine runs the tool-call loop: see tool calling. The base package also has runnable examples for executing a tool, typed tools, tool packages, and timed tools.

Concrete tool packages

  • llm-chat-file: filesystem tools
  • llm-chat-workspace: workspace and path-access management
  • llm-chat-memory: memory with embeddings, links, and PageRank scoring
  • llm-chat-shell: shell tool with a permission system
  • llm-chat-time: date/time, stopwatch, and timer tools
  • llm-chat-web: web search and fetch tools
  • llm-chat-skill: skill loading tools

The llm-chat-mcp package exposes these tools over the Model Context Protocol.

Registration in this package

The engine owns the ToolSuite behind service.tools(). See ChatService for the send loop and registration for the tool-side contract.