
                             S r SSKJr  SSKJr  SSKJr  SSS.r\R                  " \R                  R                  5      \R                  \R                   " S S	\R                  5      5       5       5       rg
)zCommand to List MCP Tools.    )utils)tools)basez{description}z@         To list MCP Tools, run:

          $ {command}
        )DESCRIPTIONEXAMPLESc                   2    \ rS rSrSr\r\S 5       rS r	Sr
g)List#   zList MCP Tools.c                 \    U R                   R                  S5        U R                  SSSS9  g )Njsonz--all
store_truezuIf provided, list all the available MCP tools for all (both enabled and non-enabled) the MCP Servers for the project.)actionhelp)display_info	AddFormatadd_argument)parsers    *lib/surface/api_registry/mcp/tools/list.pyArgs	List.Args+   s5    
!!&)
E      c                     [         R                  " 5       n[        R                  " 5       n[        R                  " 5       nSnSU SU SU 3nUR                  Xa5      $ )zRun the list command.-z	projects/z/locations/z/mcpServers/)r   McpToolsClientr   
GetProjectGetLocationr	   )selfargsclientprojectlocation
mcp_serverparents          r   RunList.Run5   sX    !!#F G  "HJ	XJl:,OF;;v$$r    N)__name__
__module____qualname____firstlineno____doc___DETAILED_HELPdetailed_helpstaticmethodr   r$   __static_attributes__r&   r   r   r	   r	   #   s#      - %r   r	   N)r+   #googlecloudsdk.api_lib.api_registryr   'googlecloudsdk.api_lib.api_registry.mcpr   googlecloudsdk.callioper   r,   ReleaseTracksReleaseTrackALPHADefaultUniverseOnlyHiddenListCommandr	   r&   r   r   <module>r9      sv     ! 5 9 (
 				 D%%++,%4 %   -%r   