Skip to main content
Glama

download_robot_map_v1

Download robot maps from the GS Robot MCP Server using the V1 API. Provide a map ID to retrieve map data for robot navigation and monitoring.

Instructions

Downloads a robot map using V1 API.

Args: map_id: The ID of the map to download. Returns: A dictionary containing the map download information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
map_idYes

Implementation Reference

  • Core handler implementation that validates input and calls the V1 map download API endpoint via GausiumAPIClient.
    async def download_robot_map_v1(self, map_id: str) -> Dict[str, Any]: """ V1获取地图下载。 Args: map_id: 地图ID Returns: 地图下载信息 Raises: ValueError: map_id为空 httpx.HTTPStatusError: API调用错误 httpx.RequestError: 网络问题 """ if not map_id: raise ValueError("Map ID cannot be empty") async with GausiumAPIClient() as client: return await client.call_endpoint( 'download_map_v1', path_params={'map_id': map_id} )
  • MCP tool registration with @mcp.tool() decorator, providing the entry point that delegates to the GausiumMCP instance.
    @mcp.tool() async def download_robot_map_v1(map_id: str): """Downloads a robot map using V1 API. Args: map_id: The ID of the map to download. Returns: A dictionary containing the map download information. """ return await mcp.download_robot_map_v1(map_id=map_id)
  • API endpoint configuration defining the path, method, version, and description for the download_robot_map_v1 tool.
    'download_map_v1': APIEndpoint( name="download_robot_map_v1", path="map/{map_id}/download", method=HTTPMethod.GET, version=APIVersion.OPENAPI_V1, description="V1获取地图下载" ),

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cfrs2005/mcp-gs-robot'

If you have feedback or need assistance with the MCP directory API, please join our Discord server