Remove-PodeMcpTool
SYNOPSIS
Removes an MCP tool.
SYNTAX
Remove-PodeMcpTool [-Name] <String> [[-Group] <String[]>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
DESCRIPTION
Removes an MCP tool in general, or from the specified group.
EXAMPLES
EXAMPLE 1
# remove a specific MCP tool from all groups, and the tool itself
Remove-PodeMcpTool -Name 'GreetPerson'
EXAMPLE 2
# remove a specific MCP tool from a specific group only - but keep the tool itself in case it's in other groups
Remove-PodeMcpTool -Name 'GreetPerson' -Group 'custom'
EXAMPLE 3
# attempt to remove a non-existent tool, which will do nothing
Remove-PodeMcpTool -Name 'NonExistentTool'
PARAMETERS
-Group
The Group from which to remove the MCP tool.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Name
The Name of the MCP tool to remove.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.