Get-PodeMcpTool
SYNOPSIS
Retrieves an MCP tool(s).
SYNTAX
Get-PodeMcpTool [[-Name] <String[]>] [[-Group] <String[]>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
DESCRIPTION
Retrieves an MCP tool or tools from the server based on the provided name and group.
EXAMPLES
EXAMPLE 1
# retrieve a specific MCP tool by name from a default group
Get-PodeMcpTool -Name 'GreetPerson' -Group 'default'
EXAMPLE 2
# retrieve all MCP tools from a specific group
Get-PodeMcpTool -Group 'custom'
EXAMPLE 3
# attempt to retrieve a non-existent tool, which will return null
Get-PodeMcpTool -Name 'NonExistentTool'
EXAMPLE 4
# attempt to retrieve tools from a non-existent group, which will return null
Get-PodeMcpTool -Group 'NonExistentGroup'
PARAMETERS
-Group
The Group(s) from which to retrieve the MCP tool(s).
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 retrieve. If not specified, all tools in the specified group will be returned.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
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.