tools

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAll

func RegisterAll(s *mcp.Server, opts runtime.RegisterOptions)

func Register_Greeter

func Register_Greeter(s *mcp.Server, opts runtime.RegisterOptions)

func Register_Spillexplore

func Register_Spillexplore(s *mcp.Server, opts runtime.RegisterOptions)

Types

type GreeterAddNumbersInput

type GreeterAddNumbersInput struct {
	A int `json:"a" jsonschema:"第一个加数"`
	B int `json:"b" jsonschema:"第二个加数"`
}

greeter.add_numbers input

type GreeterGreetInput

type GreeterGreetInput struct {
	Name    string `json:"name" jsonschema:"要问候的名字"`
	Excited bool   `json:"excited" jsonschema:"是否在结尾加感叹号"`
}

greeter.greet input

type SpillexploreSpillExploreInput

type SpillexploreSpillExploreInput struct {
	Id         string `json:"id" jsonschema:"spill 资源 id(spill:// 后面那段)"`
	Op         string `json:"op" jsonschema:"操作:stat / read / grep / schema / jq"`
	LineOffset int    `json:"line_offset" jsonschema:"read 起始行(0 基)"`
	Limit      int    `json:"limit" jsonschema:"read/grep 返回行数上限(jsonl 首次探索建议 limit=1)"`
	Pattern    string `json:"pattern" jsonschema:"grep 正则"`
	JqExpr     string `json:"jq_expr" jsonschema:"jq 表达式(仅 json/jsonl)"`
	Depth      int    `json:"depth" jsonschema:"schema 递归展开层数(<=0 时默认 2)"`
	MaxBytes   int    `json:"max_bytes" jsonschema:" 返回字节上限(<=0 时默认 1MB)"`
}

spill_explore input

Jump to

Keyboard shortcuts

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