listtools

command
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

listtools 用 in-memory transport 启动 mcp server,验证暴露给 MCP 客户端 (Cherry Studio / Claude Desktop 等)的完整元数据。

默认输出每个工具的 name + description + inputSchema + outputSchema, 让你检查描述、参数说明、required、类型是否符合预期。

用法:

go run ./cmd/listtools                             # 详细:name + desc + schema
go run ./cmd/listtools -short                      # 紧凑:每行一个工具、不打 schema
go run ./cmd/listtools -grep greet                  # name 子串过滤
go run ./cmd/listtools -enable greeter              # 包过滤
go run ./cmd/listtools -match capability=write      # label selector 过滤
go run ./cmd/listtools -json                        # 完整 JSON(含 schema)
go run ./cmd/listtools -call greeter.greet -args '{"name":"world","excited":true}'

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL