Skip to main content
Glama

get_actual_robot_current

Retrieve the actual current in amperes of a specified robot by providing its IP address. Integrates with nUR MCP Server for real-time robot monitoring.

Instructions

获取指定IP机器人的电流(安培) IP:机器人地址

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYes

Implementation Reference

  • The handler function for the 'get_actual_robot_current' tool. It checks the connection to the robot at the given IP using link_check, then retrieves and returns the actual robot current value using the URBasic RobotModel's ActualRobotCurrent() method.
    @mcp.tool() def get_actual_robot_current(ip: str): """获取指定IP机器人的电流(安培) IP:机器人地址""" try: if '连接失败' in link_check(ip): return return_msg(f"与机器人的连接已断开。") return return_msg(f"{robotModle_list[ip].ActualRobotCurrent()}(安培)") except Exception as e: logger.error(f"机器人的电流获取失败: {str(e)}") return return_msg(f"机器人的电流获取失败: {str(e)}")

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/nonead/nUR_MCP_SERVER'

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