@@ -67,24 +67,29 @@ type PostEditConfig struct {
6767
6868// Toolset represents a tool configuration
6969type Toolset struct {
70- Type string `json:"type,omitempty" yaml:"type,omitempty"`
71- Ref string `json:"ref,omitempty" yaml:"ref,omitempty"`
72- Config any `json:"config,omitempty" yaml:"config,omitempty"`
73- Command string `json:"command,omitempty" yaml:"command,omitempty"`
74- Remote Remote `json:"remote,omitempty" yaml:"remote,omitempty"`
75- Args []string `json:"args,omitempty" yaml:"args,omitempty"`
76- Tools []string `json:"tools,omitempty" yaml:"tools,omitempty"`
77- Env map [string ]string `json:"env,omitempty" yaml:"env,omitempty"`
78-
79- // For the think tool
70+ Type string `json:"type,omitempty" yaml:"type,omitempty"`
71+ Tools []string `json:"tools,omitempty" yaml:"tools,omitempty"`
72+
73+ // For the `mcp` tool
74+ Command string `json:"command,omitempty" yaml:"command,omitempty"`
75+ Args []string `json:"args,omitempty" yaml:"args,omitempty"`
76+ Ref string `json:"ref,omitempty" yaml:"ref,omitempty"`
77+ Remote Remote `json:"remote,omitempty" yaml:"remote,omitempty"`
78+ Config any `json:"config,omitempty" yaml:"config,omitempty"`
79+
80+ // For `shell`, `script` or `mcp` tools
81+ Env map [string ]string `json:"env,omitempty" yaml:"env,omitempty"`
82+
83+ // For the `todo` tool
8084 Shared bool `json:"shared,omitempty" yaml:"shared,omitempty"`
81- // For the memory tool
85+
86+ // For the `memory` tool
8287 Path string `json:"path,omitempty" yaml:"path,omitempty"`
8388
84- // For the script tool
89+ // For the ` script` tool
8590 Shell map [string ]ScriptShellToolConfig `json:"shell,omitempty" yaml:"shell,omitempty"`
8691
87- // For the filesystem tool - post-edit commands
92+ // For the ` filesystem` tool - post-edit commands
8893 PostEdit []PostEditConfig `json:"post_edit,omitempty" yaml:"post_edit,omitempty"`
8994}
9095
0 commit comments