zhin-tool-service

Installation
SKILL.md

Zhin Tool Service Guide

Use this skill to create, register, and manage tools in Zhin plugins. The Tool Service provides a unified abstraction that bridges AI agent tool-calling and traditional message commands.

Core Concepts

A Tool in Zhin can serve three purposes simultaneously:

  1. AI Agent tool — callable by LLM agents via function calling
  2. Message Command — executable by users as a chat command
  3. MCP tool — exposable via the Model Context Protocol

ZhinTool Class (Chain API)

ZhinTool provides a builder-style API similar to MessageCommand:

import { usePlugin, ZhinTool } from 'zhin.js'
Installs
2
First Seen
Feb 9, 2026
zhin-tool-service — zhinjs/ai-skills