Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions pkg/mcp/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,17 @@ func NewListResourcesTool() mcp.Tool {
mcp.WithBoolean("include_annotations",
mcp.Description("Whether to include annotations in the output (default: true)")),
mcp.WithArray("exclude_annotation_keys",
mcp.Description("List of annotation keys to exclude from output (supports wildcards with *)")),
mcp.Description("List of annotation keys to exclude from output (supports wildcards with *)"),
mcp.Items(map[string]any{
"type": "string",
}),
),
mcp.WithArray("include_annotation_keys",
mcp.Description("List of annotation keys to include in output (if specified, only these are included)")),
mcp.Description("List of annotation keys to include in output (if specified, only these are included)"),
mcp.Items(map[string]any{
"type": "string",
}),
),
mcp.WithNumber("limit",
mcp.Description("Maximum number of resources to return (0 means no limit, default: 0)")),
mcp.WithString("continue",
Expand Down