Skip to content

Commit f595b08

Browse files
committed
Set missing category on MCP and script shell tools
Assisted-By: docker-agent
1 parent 302d032 commit f595b08

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/tools/builtin/script_shell.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ func (t *ScriptShellTool) Tools(context.Context) ([]tools.Tool, error) {
116116

117117
toolsList = append(toolsList, tools.Tool{
118118
Name: toolName,
119+
Category: "shell",
119120
Description: description,
120121
Parameters: inputSchema,
121122
OutputSchema: tools.MustSchemaFor[string](),

pkg/tools/mcp/mcp.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ func (ts *Toolset) Tools(ctx context.Context) ([]tools.Tool, error) {
360360

361361
tool := tools.Tool{
362362
Name: name,
363+
Category: "mcp",
363364
Description: t.Description,
364365
Parameters: t.InputSchema,
365366
OutputSchema: t.OutputSchema,

0 commit comments

Comments
 (0)