get_robot_status
Check the operational status of all connected robots to monitor their availability and functionality within the NWO Robotics system.
Instructions
Get status of all connected robots
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.js:223-238 (handler)The `getRobotStatus` method handles the `get_robot_status` MCP tool by making an HTTP POST request to the robotics API.
async getRobotStatus() { const response = await axios.post( `${API_BASE}/api-robotics.php`, { action: 'get_agent_status' }, { headers: { 'X-API-Key': API_KEY } } ); return { content: [ { type: 'text', text: JSON.stringify(response.data, null, 2), }, ], }; } - server.js:49-56 (schema)The input schema and description for the `get_robot_status` tool defined in `ListToolsRequestSchema`.
{ name: 'get_robot_status', description: 'Get status of all connected robots', inputSchema: { type: 'object', properties: {}, }, }, - server.js:182-183 (registration)The tool `get_robot_status` is registered and routed to `this.getRobotStatus()` within the `CallToolRequestSchema` handler.
case 'get_robot_status': return await this.getRobotStatus();