{"at":"2026-11-23T03:17:33.267Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T03:17:34.196Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"armguard-mcp","title":"armguard-mcp: safety-first MCP server for ROS 2 manipulators","version":"0.1.1"}},"cacheScope":"private","capabilities":{"prompts":{"listChanged":true},"resources":{"listChanged":true,"subscribe":true},"tools":{"listChanged":true}},"instructions":"armguard-mcp controls a real robot arm through a server-side safety envelope.\nWorkflow: call get_safety_envelope first and plan within it. Motion is two-step: plan_to_joints /\nplan_to_pose / plan_cartesian_path return a plan summary and a plan_id; inspect it, then call\nexecute_plan(plan_id). Plans are single-use and expire. A human may be asked to approve execution;\nnever try to work around a denial. Limits (joint limits, workspace box, keep-out zones, speed caps,\nstep sizes, force thresholds, rate limits) are enforced by the server, not by you: rejected plans can\nnever be executed. stop_motion and estop are always available and never rate limited; use them\nwhenever anything looks wrong. Units: metres, radians, seconds, newtons.\n","resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":0}}}
{"at":"2026-11-23T03:17:34.196Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T03:17:34.198Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"armguard-mcp","title":"armguard-mcp: safety-first MCP server for ROS 2 manipulators","version":"0.1.1"}},"cacheScope":"private","resultType":"complete","tools":[{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Current joint positions [rad], TCP pose [m, quaternion xyzw] in the robot base frame, estimated\nexternal wrench [N, N*m], gripper state and safety status. Read-only.","inputSchema":{"properties":{},"title":"get_robot_stateArguments","type":"object"},"name":"get_robot_state","outputSchema":{"$defs":{"GripperState":{"additionalProperties":false,"properties":{"is_grasped":{"title":"Is Grasped","type":"boolean"},"max_width_m":{"title":"Max Width M","type":"number"},"stamp":{"default":0.0,"title":"Stamp","type":"number"},"width_m":{"title":"Width M","type":"number"}},"required":["width_m","max_width_m","is_grasped"],"title":"GripperState","type":"object"},"JointState":{"additionalProperties":false,"properties":{"efforts":{"description":"[N*m]","items":{"type":"number"},"title":"Efforts","type":"array"},"names":{"items":{"type":"string"},"title":"Names","type":"array"},"positions":{"description":"[rad]","items":{"type":"number"},"title":"Positions","type":"array"},"stamp":{"default":0.0,"description":"Seconds since epoch (backend clock)","title":"Stamp","type":"number"},"velocities":{"description":"[rad/s]","items":{"type":"number"},"title":"Velocities","type":"array"}},"required":["names","positions"],"title":"JointState","type":"object"},"Pose":{"additionalProperties":false,"properties":{"frame_id":{"description":"Frame the pose is expressed in","title":"Frame Id","type":"string"},"orientation":{"$ref":"#/$defs/Quaternion","description":"Unit quaternion (x, y, z, w)"},"position":{"$ref":"#/$defs/Vector3"}},"required":["frame_id","position"],"title":"Pose","type":"object"},"Quaternion":{"additionalProperties":false,"description":"Unit quaternion (x, y, z, w), ROS convention; the identity is (0, 0, 0, 1).","properties":{"w":{"default":1.0,"description":"w (scalar part)","title":"W","type":"number"},"x":{"default":0.0,"description":"x (vector part)","title":"X","type":"number"},"y":{"default":0.0,"description":"y (vector part)","title":"Y","type":"number"},"z":{"default":0.0,"description":"z (vector part)","title":"Z","type":"number"}},"title":"Quaternion","type":"object"},"SafetyStatus":{"additionalProperties":false,"properties":{"dry_run":{"title":"Dry Run","type":"boolean"},"estop_event":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Number of the latched e-stop event","title":"Estop Event"},"estopped":{"title":"Estopped","type":"boolean"},"estopped_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Estopped At"},"executing_plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Executing Plan Id"},"force_violation_latched":{"title":"Force Violation Latched","type":"boolean"},"last_violation":{"anyOf":[{"$ref":"#/$defs/Violation"},{"type":"null"}],"default":null},"note":{"default":"Software envelope only (defense in depth). The robot's own safety system and hardware e-stop remain the real safety layer.","title":"Note","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Reason"},"reason_source":{"anyOf":[{"enum":["agent","server"],"type":"string"},{"type":"null"}],"default":null,"description":"Who gave the reason: the AI agent (via estop) or the server itself","title":"Reason Source"}},"required":["estopped","dry_run","force_violation_latched"],"title":"SafetyStatus","type":"object"},"Vector3":{"additionalProperties":false,"description":"A 3-vector. Its unit is given by the field that holds it ([m] for positions, [N] / [N*m] in wrenches).","properties":{"x":{"description":"x component","title":"X","type":"number"},"y":{"description":"y component","title":"Y","type":"number"},"z":{"description":"z component","title":"Z","type":"number"}},"required":["x","y","z"],"title":"Vector3","type":"object"},"Violation":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable code, e.g. JOINT_LIMIT, WORKSPACE, KEEP_OUT","title":"Code","type":"string"},"detail":{"additionalProperties":true,"title":"Detail","type":"object"},"message":{"title":"Message","type":"string"},"severity":{"description":"hard = never executable; soft = needs human approval","enum":["hard","soft"],"title":"Severity","type":"string"}},"required":["code","severity","message"],"title":"Violation","type":"object"},"Wrench":{"additionalProperties":false,"properties":{"force":{"$ref":"#/$defs/Vector3","description":"[N]"},"frame_id":{"title":"Frame Id","type":"string"},"stamp":{"default":0.0,"title":"Stamp","type":"number"},"torque":{"$ref":"#/$defs/Vector3","description":"[N*m]"}},"required":["frame_id","force","torque"],"title":"Wrench","type":"object"}},"additionalProperties":false,"properties":{"backend":{"title":"Backend","type":"string"},"ee_pose":{"$ref":"#/$defs/Pose"},"gripper":{"anyOf":[{"$ref":"#/$defs/GripperState"},{"type":"null"}],"default":null},"joint_state":{"$ref":"#/$defs/JointState"},"robot":{"title":"Robot","type":"string"},"safety":{"$ref":"#/$defs/SafetyStatus"},"wrench":{"anyOf":[{"$ref":"#/$defs/Wrench"},{"type":"null"}],"default":null}},"required":["robot","backend","joint_state","ee_pose","safety"],"title":"RobotState","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"The limits the server enforces (joint limits, workspace box, keep-out zones, speed/step caps,\nforce thresholds, gripper limits, approval mode). Read this before planning and stay inside it:\nviolations are rejected server-side and cannot be overridden.","inputSchema":{"properties":{},"title":"get_safety_envelopeArguments","type":"object"},"name":"get_safety_envelope","outputSchema":{"$defs":{"ApprovalSection":{"additionalProperties":false,"properties":{"mode":{"default":"outside_envelope","enum":["always","outside_envelope","never"],"title":"Mode","type":"string"},"on_client_without_elicitation":{"default":"deny","enum":["deny","allow"],"title":"On Client Without Elicitation","type":"string"},"require_for":{"items":{"enum":["execute","switch_controllers","reset_estop","error_recovery","set_collision_thresholds"],"type":"string"},"title":"Require For","type":"array"}},"title":"ApprovalSection","type":"object"},"Box":{"additionalProperties":false,"properties":{"max":{"description":"[m] in the robot base frame","maxItems":3,"minItems":3,"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"title":"Max","type":"array"},"min":{"description":"[m] in the robot base frame","maxItems":3,"minItems":3,"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"title":"Min","type":"array"}},"required":["min","max"],"title":"Box","type":"object"},"ForceSection":{"additionalProperties":false,"properties":{"max_contact_force_n":{"exclusiveMinimum":0,"title":"Max Contact Force N","type":"number"},"max_contact_torque_nm":{"exclusiveMinimum":0,"title":"Max Contact Torque Nm","type":"number"},"monitor_rate_hz":{"default":200.0,"exclusiveMinimum":0,"maximum":5000,"title":"Monitor Rate Hz","type":"number"},"require_wrench":{"default":true,"description":"Refuse to execute when the backend provides no external wrench estimate (fail closed). false = allow motion with NO server-side force limit (the approval prompt says so)","title":"Require Wrench","type":"boolean"},"wrench_timeout_s":{"default":0.1,"description":"While executing, a wrench read that takes longer than this, or a wrench stamp that stops advancing for longer than this, is a monitor failure: the motion is stopped","exclusiveMinimum":0,"maximum":2.0,"title":"Wrench Timeout S","type":"number"}},"required":["max_contact_force_n","max_contact_torque_nm"],"title":"ForceSection","type":"object"},"GripperSection":{"additionalProperties":false,"properties":{"max_grasp_force_n":{"exclusiveMinimum":0,"title":"Max Grasp Force N","type":"number"},"max_speed_mps":{"exclusiveMinimum":0,"title":"Max Speed Mps","type":"number"},"max_width_m":{"exclusiveMinimum":0,"title":"Max Width M","type":"number"},"min_width_m":{"default":0.0,"minimum":0,"title":"Min Width M","type":"number"}},"required":["max_width_m","max_grasp_force_n","max_speed_mps"],"title":"GripperSection","type":"object"},"JointLimit":{"additionalProperties":false,"properties":{"max":{"description":"[rad]","title":"Max","type":"number"},"max_acceleration":{"default":10.0,"description":"[rad/s^2]","exclusiveMinimum":0,"title":"Max Acceleration","type":"number"},"max_velocity":{"description":"[rad/s]","exclusiveMinimum":0,"title":"Max Velocity","type":"number"},"min":{"description":"[rad]","title":"Min","type":"number"}},"required":["min","max","max_velocity"],"title":"JointLimit","type":"object"},"KeepOutZone":{"additionalProperties":false,"properties":{"max":{"description":"[m] in the robot base frame","maxItems":3,"minItems":3,"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"title":"Max","type":"array"},"min":{"description":"[m] in the robot base frame","maxItems":3,"minItems":3,"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"title":"Min","type":"array"},"name":{"title":"Name","type":"string"}},"required":["min","max","name"],"title":"KeepOutZone","type":"object"},"MotionSection":{"additionalProperties":false,"properties":{"cartesian_eef_step_m":{"default":0.005,"exclusiveMinimum":0,"title":"Cartesian Eef Step M","type":"number"},"check_resolution_rad":{"default":0.02,"description":"Joint-space sampling for envelope checks","exclusiveMinimum":0,"title":"Check Resolution Rad","type":"number"},"default_acceleration_scaling":{"default":0.1,"exclusiveMinimum":0,"maximum":1,"title":"Default Acceleration Scaling","type":"number"},"default_velocity_scaling":{"default":0.1,"exclusiveMinimum":0,"maximum":1,"title":"Default Velocity Scaling","type":"number"},"joint_limit_margin_rad":{"default":0.05,"minimum":0,"title":"Joint Limit Margin Rad","type":"number"},"max_acceleration_scaling":{"exclusiveMinimum":0,"maximum":1,"title":"Max Acceleration Scaling","type":"number"},"max_cartesian_step_m":{"description":"Hard cap on TCP path length of a Cartesian plan","exclusiveMinimum":0,"title":"Max Cartesian Step M","type":"number"},"max_joint_step_rad":{"description":"Hard cap on any joint's travel in one plan","exclusiveMinimum":0,"title":"Max Joint Step Rad","type":"number"},"max_velocity_scaling":{"exclusiveMinimum":0,"maximum":1,"title":"Max Velocity Scaling","type":"number"},"plan_ttl_s":{"default":120.0,"exclusiveMinimum":0,"title":"Plan Ttl S","type":"number"},"soft_joint_step_rad":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Above this travel a plan counts as outside the envelope (needs approval)","title":"Soft Joint Step Rad"},"start_tolerance_rad":{"default":0.01,"description":"Max drift from plan start before 'stale'","exclusiveMinimum":0,"title":"Start Tolerance Rad","type":"number"},"tcp_check_resolution_m":{"default":0.01,"description":"Envelope samples are refined until consecutive TCP positions are at most this far apart; keep-out zones are then tested against every segment between samples","exclusiveMinimum":0,"maximum":0.05,"title":"Tcp Check Resolution M","type":"number"}},"required":["max_velocity_scaling","max_acceleration_scaling","max_joint_step_rad","max_cartesian_step_m"],"title":"MotionSection","type":"object"},"RateLimitsSection":{"additionalProperties":false,"properties":{"default_per_minute":{"default":60,"minimum":1,"title":"Default Per Minute","type":"integer"},"global_per_minute":{"default":120,"minimum":1,"title":"Global Per Minute","type":"integer"},"per_tool":{"additionalProperties":{"type":"integer"},"title":"Per Tool","type":"object"}},"title":"RateLimitsSection","type":"object"},"WorkspaceSection":{"additionalProperties":false,"properties":{"box":{"$ref":"#/$defs/Box"},"keep_out":{"items":{"$ref":"#/$defs/KeepOutZone"},"title":"Keep Out","type":"array"}},"required":["box"],"title":"WorkspaceSection","type":"object"}},"properties":{"approval":{"$ref":"#/$defs/ApprovalSection"},"base_frame":{"title":"Base Frame","type":"string"},"camera_topics":{"items":{"type":"string"},"title":"Camera Topics","type":"array"},"controllers_allowlist":{"items":{"type":"string"},"title":"Controllers Allowlist","type":"array"},"dry_run":{"title":"Dry Run","type":"boolean"},"ee_frame":{"title":"Ee Frame","type":"string"},"enabled_tool_groups":{"items":{"type":"string"},"title":"Enabled Tool Groups","type":"array"},"force":{"$ref":"#/$defs/ForceSection"},"gripper":{"anyOf":[{"$ref":"#/$defs/GripperSection"},{"type":"null"}]},"home_joint_positions":{"items":{"type":"number"},"title":"Home Joint Positions","type":"array"},"joint_limits":{"additionalProperties":{"$ref":"#/$defs/JointLimit"},"title":"Joint Limits","type":"object"},"joint_names":{"items":{"type":"string"},"title":"Joint Names","type":"array"},"max_image_width":{"title":"Max Image Width","type":"integer"},"motion":{"$ref":"#/$defs/MotionSection"},"rate_limits":{"$ref":"#/$defs/RateLimitsSection"},"robot":{"title":"Robot","type":"string"},"summary":{"title":"Summary","type":"string"},"workspace":{"$ref":"#/$defs/WorkspaceSection"}},"required":["summary","robot","base_frame","ee_frame","joint_names","joint_limits","home_joint_positions","workspace","motion","force","gripper","controllers_allowlist","camera_topics","max_image_width","approval","rate_limits","dry_run","enabled_tool_groups"],"title":"SafetyEnvelopeInfo","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Pose of source_frame expressed in target_frame (tf2 semantics), e.g. target_frame='fr3_link0',\nsource_frame='fr3_hand_tcp'. Position in metres, orientation as a quaternion (x, y, z, w).","inputSchema":{"properties":{"source_frame":{"title":"Source Frame","type":"string"},"target_frame":{"title":"Target Frame","type":"string"}},"required":["target_frame","source_frame"],"title":"lookup_transformArguments","type":"object"},"name":"lookup_transform","outputSchema":{"$defs":{"Quaternion":{"additionalProperties":false,"description":"Unit quaternion (x, y, z, w), ROS convention; the identity is (0, 0, 0, 1).","properties":{"w":{"default":1.0,"description":"w (scalar part)","title":"W","type":"number"},"x":{"default":0.0,"description":"x (vector part)","title":"X","type":"number"},"y":{"default":0.0,"description":"y (vector part)","title":"Y","type":"number"},"z":{"default":0.0,"description":"z (vector part)","title":"Z","type":"number"}},"title":"Quaternion","type":"object"},"Vector3":{"additionalProperties":false,"description":"A 3-vector. Its unit is given by the field that holds it ([m] for positions, [N] / [N*m] in wrenches).","properties":{"x":{"description":"x component","title":"X","type":"number"},"y":{"description":"y component","title":"Y","type":"number"},"z":{"description":"z component","title":"Z","type":"number"}},"required":["x","y","z"],"title":"Vector3","type":"object"}},"additionalProperties":false,"properties":{"frame_id":{"description":"Frame the pose is expressed in","title":"Frame Id","type":"string"},"orientation":{"$ref":"#/$defs/Quaternion","description":"Unit quaternion (x, y, z, w)"},"position":{"$ref":"#/$defs/Vector3"}},"required":["frame_id","position"],"title":"Pose","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"ros2_control controllers with their type and state, plus which ones the policy lets you switch.","inputSchema":{"properties":{},"title":"list_controllersArguments","type":"object"},"name":"list_controllers","outputSchema":{"$defs":{"ControllerInfo":{"additionalProperties":false,"properties":{"name":{"title":"Name","type":"string"},"state":{"description":"active | inactive | unconfigured | finalized","title":"State","type":"string"},"type":{"title":"Type","type":"string"}},"required":["name","type","state"],"title":"ControllerInfo","type":"object"}},"additionalProperties":false,"properties":{"controllers":{"items":{"$ref":"#/$defs/ControllerInfo"},"title":"Controllers","type":"array"},"switchable":{"description":"Controllers the policy allows to be (de)activated","items":{"type":"string"},"title":"Switchable","type":"array"}},"required":["controllers","switchable"],"title":"ControllerList","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"ROS 2 nodes, topics, services and actions visible to the server. Read-only; you cannot publish\nor call arbitrary services through this server.","inputSchema":{"properties":{},"title":"list_ros_graphArguments","type":"object"},"name":"list_ros_graph","outputSchema":{"additionalProperties":false,"properties":{"actions":{"items":{"type":"string"},"title":"Actions","type":"array"},"nodes":{"items":{"type":"string"},"title":"Nodes","type":"array"},"services":{"items":{"type":"string"},"title":"Services","type":"array"},"topics":{"items":{"type":"string"},"title":"Topics","type":"array"}},"required":["nodes","topics","services","actions"],"title":"GraphInfo","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"The last n audit-log events (tool calls, approvals, denials, e-stops). Images are redacted.","inputSchema":{"properties":{"n":{"default":20,"maximum":200,"minimum":1,"title":"N","type":"integer"}},"title":"get_audit_tailArguments","type":"object"},"name":"get_audit_tail","outputSchema":{"properties":{"events":{"items":{"additionalProperties":true,"type":"object"},"title":"Events","type":"array"}},"required":["events"],"title":"AuditTail","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Grab the latest image from an allowlisted camera topic (see get_safety_envelope.camera_topics).\nReturns the image plus JSON metadata (width, height, stamp). Images wider than the policy's\nmax_image_width are downscaled (or refused if Pillow is not installed).","inputSchema":{"properties":{"topic":{"title":"Topic","type":"string"}},"required":["topic"],"title":"camera_snapshotArguments","type":"object"},"name":"camera_snapshot"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":true},"description":"Plan (do NOT move) a joint-space motion from the current state to joint_positions [rad].\nReturns a plan summary validated against the safety envelope; if status is not 'rejected',\npass plan_id to execute_plan. Scaling above the policy cap is clamped.","inputSchema":{"properties":{"acceleration_scaling":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Fraction of max joint accel (0, 1]","exclusiveMinimum":0,"maximum":1,"title":"Acceleration Scaling"},"joint_positions":{"description":"Target joint positions [rad], one per joint in the order ['fr3_joint1', 'fr3_joint2', 'fr3_joint3', 'fr3_joint4', 'fr3_joint5', 'fr3_joint6', 'fr3_joint7']","items":{"type":"number"},"maxItems":7,"minItems":7,"title":"Joint Positions","type":"array"},"velocity_scaling":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Fraction of max joint speed (0, 1]","exclusiveMinimum":0,"maximum":1,"title":"Velocity Scaling"}},"required":["joint_positions"],"title":"plan_to_jointsArguments","type":"object"},"name":"plan_to_joints","outputSchema":{"$defs":{"Pose":{"additionalProperties":false,"properties":{"frame_id":{"description":"Frame the pose is expressed in","title":"Frame Id","type":"string"},"orientation":{"$ref":"#/$defs/Quaternion","description":"Unit quaternion (x, y, z, w)"},"position":{"$ref":"#/$defs/Vector3"}},"required":["frame_id","position"],"title":"Pose","type":"object"},"Quaternion":{"additionalProperties":false,"description":"Unit quaternion (x, y, z, w), ROS convention; the identity is (0, 0, 0, 1).","properties":{"w":{"default":1.0,"description":"w (scalar part)","title":"W","type":"number"},"x":{"default":0.0,"description":"x (vector part)","title":"X","type":"number"},"y":{"default":0.0,"description":"y (vector part)","title":"Y","type":"number"},"z":{"default":0.0,"description":"z (vector part)","title":"Z","type":"number"}},"title":"Quaternion","type":"object"},"Vector3":{"additionalProperties":false,"description":"A 3-vector. Its unit is given by the field that holds it ([m] for positions, [N] / [N*m] in wrenches).","properties":{"x":{"description":"x component","title":"X","type":"number"},"y":{"description":"y component","title":"Y","type":"number"},"z":{"description":"z component","title":"Z","type":"number"}},"required":["x","y","z"],"title":"Vector3","type":"object"},"Violation":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable code, e.g. JOINT_LIMIT, WORKSPACE, KEEP_OUT","title":"Code","type":"string"},"detail":{"additionalProperties":true,"title":"Detail","type":"object"},"message":{"title":"Message","type":"string"},"severity":{"description":"hard = never executable; soft = needs human approval","enum":["hard","soft"],"title":"Severity","type":"string"}},"required":["code","severity","message"],"title":"Violation","type":"object"}},"additionalProperties":false,"description":"What the LLM sees after planning. The full trajectory stays server-side.","properties":{"acceleration_scaling":{"title":"Acceleration Scaling","type":"number"},"dry_run":{"title":"Dry Run","type":"boolean"},"duration_s":{"title":"Duration S","type":"number"},"executable":{"title":"Executable","type":"boolean"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"ISO-8601 UTC expiry of the plan handle","title":"Expires At"},"final_ee_pose":{"$ref":"#/$defs/Pose"},"final_joint_positions":{"items":{"type":"number"},"title":"Final Joint Positions","type":"array"},"force_monitoring":{"description":"Whether the backend currently provides an external wrench estimate. Without one the server cannot enforce the contact force limit, and execute_plan refuses to move unless the policy sets force.require_wrench: false","enum":["available","unavailable"],"title":"Force Monitoring","type":"string"},"kind":{"enum":["joints","pose","cartesian"],"title":"Kind","type":"string"},"max_joint_acceleration_ratio":{"description":"Peak joint acceleration (estimated from the waypoint timing) as a fraction of the joint limit","title":"Max Joint Acceleration Ratio","type":"number"},"max_joint_travel_rad":{"title":"Max Joint Travel Rad","type":"number"},"max_joint_velocity_ratio":{"description":"Peak joint speed as a fraction of the joint limit","title":"Max Joint Velocity Ratio","type":"number"},"notes":{"items":{"type":"string"},"title":"Notes","type":"array"},"num_waypoints":{"title":"Num Waypoints","type":"integer"},"plan_id":{"title":"Plan Id","type":"string"},"requires_approval":{"title":"Requires Approval","type":"boolean"},"start_joint_positions":{"items":{"type":"number"},"title":"Start Joint Positions","type":"array"},"status":{"description":"rejected plans can never be executed; needs_approval requires a human to approve","enum":["executable","needs_approval","rejected"],"title":"Status","type":"string"},"tcp_path_length_m":{"title":"Tcp Path Length M","type":"number"},"velocity_scaling":{"title":"Velocity Scaling","type":"number"},"violations":{"items":{"$ref":"#/$defs/Violation"},"title":"Violations","type":"array"}},"required":["plan_id","kind","status","executable","duration_s","num_waypoints","start_joint_positions","final_joint_positions","final_ee_pose","max_joint_velocity_ratio","max_joint_acceleration_ratio","max_joint_travel_rad","tcp_path_length_m","velocity_scaling","acceleration_scaling","requires_approval","dry_run","force_monitoring"],"title":"PlanSummary","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":true},"description":"Plan (do NOT move) a motion that brings the TCP to a pose. Uses inverse kinematics; the path is\na joint-space interpolation (the TCP does not move in a straight line - use plan_cartesian_path\nfor that). Returns a plan summary validated against the safety envelope.","inputSchema":{"$defs":{"Quaternion":{"additionalProperties":false,"description":"Unit quaternion (x, y, z, w), ROS convention; the identity is (0, 0, 0, 1).","properties":{"w":{"default":1.0,"description":"w (scalar part)","title":"W","type":"number"},"x":{"default":0.0,"description":"x (vector part)","title":"X","type":"number"},"y":{"default":0.0,"description":"y (vector part)","title":"Y","type":"number"},"z":{"default":0.0,"description":"z (vector part)","title":"Z","type":"number"}},"title":"Quaternion","type":"object"},"Vector3":{"additionalProperties":false,"description":"A 3-vector. Its unit is given by the field that holds it ([m] for positions, [N] / [N*m] in wrenches).","properties":{"x":{"description":"x component","title":"X","type":"number"},"y":{"description":"y component","title":"Y","type":"number"},"z":{"description":"z component","title":"Z","type":"number"}},"required":["x","y","z"],"title":"Vector3","type":"object"}},"properties":{"acceleration_scaling":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Fraction of max joint accel (0, 1]","exclusiveMinimum":0,"maximum":1,"title":"Acceleration Scaling"},"frame_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Frame of the target; default = robot base frame","title":"Frame Id"},"orientation":{"anyOf":[{"$ref":"#/$defs/Quaternion"},{"type":"null"}],"default":null,"description":"Target TCP orientation (x, y, z, w); omit to keep current"},"position":{"$ref":"#/$defs/Vector3","description":"Target TCP position [m]"},"velocity_scaling":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Fraction of max joint speed (0, 1]","exclusiveMinimum":0,"maximum":1,"title":"Velocity Scaling"}},"required":["position"],"title":"plan_to_poseArguments","type":"object"},"name":"plan_to_pose","outputSchema":{"$defs":{"Pose":{"additionalProperties":false,"properties":{"frame_id":{"description":"Frame the pose is expressed in","title":"Frame Id","type":"string"},"orientation":{"$ref":"#/$defs/Quaternion","description":"Unit quaternion (x, y, z, w)"},"position":{"$ref":"#/$defs/Vector3"}},"required":["frame_id","position"],"title":"Pose","type":"object"},"Quaternion":{"additionalProperties":false,"description":"Unit quaternion (x, y, z, w), ROS convention; the identity is (0, 0, 0, 1).","properties":{"w":{"default":1.0,"description":"w (scalar part)","title":"W","type":"number"},"x":{"default":0.0,"description":"x (vector part)","title":"X","type":"number"},"y":{"default":0.0,"description":"y (vector part)","title":"Y","type":"number"},"z":{"default":0.0,"description":"z (vector part)","title":"Z","type":"number"}},"title":"Quaternion","type":"object"},"Vector3":{"additionalProperties":false,"description":"A 3-vector. Its unit is given by the field that holds it ([m] for positions, [N] / [N*m] in wrenches).","properties":{"x":{"description":"x component","title":"X","type":"number"},"y":{"description":"y component","title":"Y","type":"number"},"z":{"description":"z component","title":"Z","type":"number"}},"required":["x","y","z"],"title":"Vector3","type":"object"},"Violation":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable code, e.g. JOINT_LIMIT, WORKSPACE, KEEP_OUT","title":"Code","type":"string"},"detail":{"additionalProperties":true,"title":"Detail","type":"object"},"message":{"title":"Message","type":"string"},"severity":{"description":"hard = never executable; soft = needs human approval","enum":["hard","soft"],"title":"Severity","type":"string"}},"required":["code","severity","message"],"title":"Violation","type":"object"}},"additionalProperties":false,"description":"What the LLM sees after planning. The full trajectory stays server-side.","properties":{"acceleration_scaling":{"title":"Acceleration Scaling","type":"number"},"dry_run":{"title":"Dry Run","type":"boolean"},"duration_s":{"title":"Duration S","type":"number"},"executable":{"title":"Executable","type":"boolean"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"ISO-8601 UTC expiry of the plan handle","title":"Expires At"},"final_ee_pose":{"$ref":"#/$defs/Pose"},"final_joint_positions":{"items":{"type":"number"},"title":"Final Joint Positions","type":"array"},"force_monitoring":{"description":"Whether the backend currently provides an external wrench estimate. Without one the server cannot enforce the contact force limit, and execute_plan refuses to move unless the policy sets force.require_wrench: false","enum":["available","unavailable"],"title":"Force Monitoring","type":"string"},"kind":{"enum":["joints","pose","cartesian"],"title":"Kind","type":"string"},"max_joint_acceleration_ratio":{"description":"Peak joint acceleration (estimated from the waypoint timing) as a fraction of the joint limit","title":"Max Joint Acceleration Ratio","type":"number"},"max_joint_travel_rad":{"title":"Max Joint Travel Rad","type":"number"},"max_joint_velocity_ratio":{"description":"Peak joint speed as a fraction of the joint limit","title":"Max Joint Velocity Ratio","type":"number"},"notes":{"items":{"type":"string"},"title":"Notes","type":"array"},"num_waypoints":{"title":"Num Waypoints","type":"integer"},"plan_id":{"title":"Plan Id","type":"string"},"requires_approval":{"title":"Requires Approval","type":"boolean"},"start_joint_positions":{"items":{"type":"number"},"title":"Start Joint Positions","type":"array"},"status":{"description":"rejected plans can never be executed; needs_approval requires a human to approve","enum":["executable","needs_approval","rejected"],"title":"Status","type":"string"},"tcp_path_length_m":{"title":"Tcp Path Length M","type":"number"},"velocity_scaling":{"title":"Velocity Scaling","type":"number"},"violations":{"items":{"$ref":"#/$defs/Violation"},"title":"Violations","type":"array"}},"required":["plan_id","kind","status","executable","duration_s","num_waypoints","start_joint_positions","final_joint_positions","final_ee_pose","max_joint_velocity_ratio","max_joint_acceleration_ratio","max_joint_travel_rad","tcp_path_length_m","velocity_scaling","acceleration_scaling","requires_approval","dry_run","force_monitoring"],"title":"PlanSummary","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":true},"description":"Plan (do NOT move) a straight-line TCP path through the waypoints [m]. Total TCP path length is\ncapped by the policy (max_cartesian_step_m). Returns a plan summary validated against the envelope.","inputSchema":{"$defs":{"CartesianWaypoint":{"additionalProperties":false,"properties":{"orientation":{"anyOf":[{"$ref":"#/$defs/Quaternion"},{"type":"null"}],"default":null,"description":"TCP orientation (x, y, z, w); omit to keep the current orientation"},"position":{"$ref":"#/$defs/Vector3","description":"TCP position [m]"}},"required":["position"],"title":"CartesianWaypoint","type":"object"},"Quaternion":{"additionalProperties":false,"description":"Unit quaternion (x, y, z, w), ROS convention; the identity is (0, 0, 0, 1).","properties":{"w":{"default":1.0,"description":"w (scalar part)","title":"W","type":"number"},"x":{"default":0.0,"description":"x (vector part)","title":"X","type":"number"},"y":{"default":0.0,"description":"y (vector part)","title":"Y","type":"number"},"z":{"default":0.0,"description":"z (vector part)","title":"Z","type":"number"}},"title":"Quaternion","type":"object"},"Vector3":{"additionalProperties":false,"description":"A 3-vector. Its unit is given by the field that holds it ([m] for positions, [N] / [N*m] in wrenches).","properties":{"x":{"description":"x component","title":"X","type":"number"},"y":{"description":"y component","title":"Y","type":"number"},"z":{"description":"z component","title":"Z","type":"number"}},"required":["x","y","z"],"title":"Vector3","type":"object"}},"properties":{"acceleration_scaling":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Fraction of max joint accel (0, 1]","exclusiveMinimum":0,"maximum":1,"title":"Acceleration Scaling"},"frame_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Frame of the waypoints; default = base frame","title":"Frame Id"},"velocity_scaling":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Fraction of max joint speed (0, 1]","exclusiveMinimum":0,"maximum":1,"title":"Velocity Scaling"},"waypoints":{"description":"TCP waypoints, in order","items":{"$ref":"#/$defs/CartesianWaypoint"},"maxItems":50,"minItems":1,"title":"Waypoints","type":"array"}},"required":["waypoints"],"title":"plan_cartesian_pathArguments","type":"object"},"name":"plan_cartesian_path","outputSchema":{"$defs":{"Pose":{"additionalProperties":false,"properties":{"frame_id":{"description":"Frame the pose is expressed in","title":"Frame Id","type":"string"},"orientation":{"$ref":"#/$defs/Quaternion","description":"Unit quaternion (x, y, z, w)"},"position":{"$ref":"#/$defs/Vector3"}},"required":["frame_id","position"],"title":"Pose","type":"object"},"Quaternion":{"additionalProperties":false,"description":"Unit quaternion (x, y, z, w), ROS convention; the identity is (0, 0, 0, 1).","properties":{"w":{"default":1.0,"description":"w (scalar part)","title":"W","type":"number"},"x":{"default":0.0,"description":"x (vector part)","title":"X","type":"number"},"y":{"default":0.0,"description":"y (vector part)","title":"Y","type":"number"},"z":{"default":0.0,"description":"z (vector part)","title":"Z","type":"number"}},"title":"Quaternion","type":"object"},"Vector3":{"additionalProperties":false,"description":"A 3-vector. Its unit is given by the field that holds it ([m] for positions, [N] / [N*m] in wrenches).","properties":{"x":{"description":"x component","title":"X","type":"number"},"y":{"description":"y component","title":"Y","type":"number"},"z":{"description":"z component","title":"Z","type":"number"}},"required":["x","y","z"],"title":"Vector3","type":"object"},"Violation":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable code, e.g. JOINT_LIMIT, WORKSPACE, KEEP_OUT","title":"Code","type":"string"},"detail":{"additionalProperties":true,"title":"Detail","type":"object"},"message":{"title":"Message","type":"string"},"severity":{"description":"hard = never executable; soft = needs human approval","enum":["hard","soft"],"title":"Severity","type":"string"}},"required":["code","severity","message"],"title":"Violation","type":"object"}},"additionalProperties":false,"description":"What the LLM sees after planning. The full trajectory stays server-side.","properties":{"acceleration_scaling":{"title":"Acceleration Scaling","type":"number"},"dry_run":{"title":"Dry Run","type":"boolean"},"duration_s":{"title":"Duration S","type":"number"},"executable":{"title":"Executable","type":"boolean"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"ISO-8601 UTC expiry of the plan handle","title":"Expires At"},"final_ee_pose":{"$ref":"#/$defs/Pose"},"final_joint_positions":{"items":{"type":"number"},"title":"Final Joint Positions","type":"array"},"force_monitoring":{"description":"Whether the backend currently provides an external wrench estimate. Without one the server cannot enforce the contact force limit, and execute_plan refuses to move unless the policy sets force.require_wrench: false","enum":["available","unavailable"],"title":"Force Monitoring","type":"string"},"kind":{"enum":["joints","pose","cartesian"],"title":"Kind","type":"string"},"max_joint_acceleration_ratio":{"description":"Peak joint acceleration (estimated from the waypoint timing) as a fraction of the joint limit","title":"Max Joint Acceleration Ratio","type":"number"},"max_joint_travel_rad":{"title":"Max Joint Travel Rad","type":"number"},"max_joint_velocity_ratio":{"description":"Peak joint speed as a fraction of the joint limit","title":"Max Joint Velocity Ratio","type":"number"},"notes":{"items":{"type":"string"},"title":"Notes","type":"array"},"num_waypoints":{"title":"Num Waypoints","type":"integer"},"plan_id":{"title":"Plan Id","type":"string"},"requires_approval":{"title":"Requires Approval","type":"boolean"},"start_joint_positions":{"items":{"type":"number"},"title":"Start Joint Positions","type":"array"},"status":{"description":"rejected plans can never be executed; needs_approval requires a human to approve","enum":["executable","needs_approval","rejected"],"title":"Status","type":"string"},"tcp_path_length_m":{"title":"Tcp Path Length M","type":"number"},"velocity_scaling":{"title":"Velocity Scaling","type":"number"},"violations":{"items":{"$ref":"#/$defs/Violation"},"title":"Violations","type":"array"}},"required":["plan_id","kind","status","executable","duration_s","num_waypoints","start_joint_positions","final_joint_positions","final_ee_pose","max_joint_velocity_ratio","max_joint_acceleration_ratio","max_joint_travel_rad","tcp_path_length_m","velocity_scaling","acceleration_scaling","requires_approval","dry_run","force_monitoring"],"title":"PlanSummary","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"EXECUTE a previously planned motion on the robot. The server re-validates the plan against the\nsafety envelope, rejects stale/expired/used plans, may ask a human to approve (depending on\npolicy), monitors contact force while moving (aborting and latching an e-stop above the limit),\nand streams progress. Plan handles are single-use and one plan executes at a time. Refused if the\nrobot provides no force estimate (unless the policy allows it). Cancelling the call stops the\nrobot. In dry-run mode nothing moves.","inputSchema":{"properties":{"plan_id":{"description":"plan_id returned by a plan_* tool","title":"Plan Id","type":"string"}},"required":["plan_id"],"title":"execute_planArguments","type":"object"},"name":"execute_plan","outputSchema":{"$defs":{"Pose":{"additionalProperties":false,"properties":{"frame_id":{"description":"Frame the pose is expressed in","title":"Frame Id","type":"string"},"orientation":{"$ref":"#/$defs/Quaternion","description":"Unit quaternion (x, y, z, w)"},"position":{"$ref":"#/$defs/Vector3"}},"required":["frame_id","position"],"title":"Pose","type":"object"},"Quaternion":{"additionalProperties":false,"description":"Unit quaternion (x, y, z, w), ROS convention; the identity is (0, 0, 0, 1).","properties":{"w":{"default":1.0,"description":"w (scalar part)","title":"W","type":"number"},"x":{"default":0.0,"description":"x (vector part)","title":"X","type":"number"},"y":{"default":0.0,"description":"y (vector part)","title":"Y","type":"number"},"z":{"default":0.0,"description":"z (vector part)","title":"Z","type":"number"}},"title":"Quaternion","type":"object"},"Vector3":{"additionalProperties":false,"description":"A 3-vector. Its unit is given by the field that holds it ([m] for positions, [N] / [N*m] in wrenches).","properties":{"x":{"description":"x component","title":"X","type":"number"},"y":{"description":"y component","title":"Y","type":"number"},"z":{"description":"z component","title":"Z","type":"number"}},"required":["x","y","z"],"title":"Vector3","type":"object"}},"additionalProperties":false,"properties":{"approval":{"description":"How the execution was authorised","title":"Approval","type":"string"},"dry_run":{"title":"Dry Run","type":"boolean"},"duration_s":{"title":"Duration S","type":"number"},"executed":{"title":"Executed","type":"boolean"},"final_ee_pose":{"anyOf":[{"$ref":"#/$defs/Pose"},{"type":"null"}],"default":null},"final_joint_positions":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"default":null,"title":"Final Joint Positions"},"max_observed_force_n":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Max Observed Force N"},"message":{"title":"Message","type":"string"},"plan_id":{"title":"Plan Id","type":"string"},"status":{"enum":["completed","aborted","dry_run"],"title":"Status","type":"string"}},"required":["plan_id","status","message","executed","dry_run","approval","duration_s"],"title":"ExecutionReport","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Whether a plan is executing, its progress (0..1) and the result of the last execution.","inputSchema":{"properties":{},"title":"get_motion_statusArguments","type":"object"},"name":"get_motion_status","outputSchema":{"additionalProperties":false,"properties":{"executing":{"title":"Executing","type":"boolean"},"last_result":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Last Result"},"message":{"default":"","title":"Message","type":"string"},"plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Plan Id"},"progress":{"default":0.0,"description":"0..1 fraction of the active plan","title":"Progress","type":"number"}},"required":["executing"],"title":"MotionStatus","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Move the gripper fingers to an opening width [m] without applying grasp force.","inputSchema":{"properties":{"speed_mps":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Finger speed [m/s]; default = policy max","exclusiveMinimum":0,"maximum":0.1,"title":"Speed Mps"},"width_m":{"description":"Target finger opening [m], within the policy range","maximum":0.08,"minimum":0.0,"title":"Width M","type":"number"}},"required":["width_m"],"title":"gripper_moveArguments","type":"object"},"name":"gripper_move","outputSchema":{"additionalProperties":false,"description":"Generic result for state-changing tools.","properties":{"data":{"additionalProperties":true,"title":"Data","type":"object"},"message":{"title":"Message","type":"string"},"ok":{"title":"Ok","type":"boolean"}},"required":["ok","message"],"title":"ActionResult","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Close the gripper on an object of about width_m [m] with force_n [N]. Succeeds (ok=true) only\nif the fingers stop within [width - epsilon_inner, width + epsilon_outer]. Forces above the\npolicy maximum are rejected, not clamped.","inputSchema":{"properties":{"epsilon_inner_m":{"default":0.005,"description":"Tolerance [m]: the grasp succeeds down to width_m - epsilon_inner_m","maximum":0.05,"minimum":0,"title":"Epsilon Inner M","type":"number"},"epsilon_outer_m":{"default":0.005,"description":"Tolerance [m]: the grasp succeeds up to width_m + epsilon_outer_m","maximum":0.05,"minimum":0,"title":"Epsilon Outer M","type":"number"},"force_n":{"description":"Grasp force [N]; must not exceed the policy maximum","exclusiveMinimum":0,"maximum":40.0,"title":"Force N","type":"number"},"speed_mps":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Finger speed [m/s]; default = policy max","exclusiveMinimum":0,"maximum":0.1,"title":"Speed Mps"},"width_m":{"description":"Expected object width [m]","maximum":0.08,"minimum":0.0,"title":"Width M","type":"number"}},"required":["width_m","force_n"],"title":"gripper_graspArguments","type":"object"},"name":"gripper_grasp","outputSchema":{"additionalProperties":false,"description":"Generic result for state-changing tools.","properties":{"data":{"additionalProperties":true,"title":"Data","type":"object"},"message":{"title":"Message","type":"string"},"ok":{"title":"Ok","type":"boolean"}},"required":["ok","message"],"title":"ActionResult","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Home (fully open and calibrate) the gripper.","inputSchema":{"properties":{},"title":"gripper_homeArguments","type":"object"},"name":"gripper_home","outputSchema":{"additionalProperties":false,"description":"Generic result for state-changing tools.","properties":{"data":{"additionalProperties":true,"title":"Data","type":"object"},"message":{"title":"Message","type":"string"},"ok":{"title":"Ok","type":"boolean"}},"required":["ok","message"],"title":"ActionResult","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Activate/deactivate ros2_control controllers. Only controllers in the policy allowlist may be\nswitched; a human may need to approve.","inputSchema":{"properties":{"activate":{"default":[],"description":"Controllers to activate (must be allowlisted)","items":{"type":"string"},"title":"Activate","type":"array"},"deactivate":{"default":[],"description":"Controllers to deactivate (must be allowlisted)","items":{"type":"string"},"title":"Deactivate","type":"array"}},"title":"switch_controllersArguments","type":"object"},"name":"switch_controllers","outputSchema":{"$defs":{"ControllerInfo":{"additionalProperties":false,"properties":{"name":{"title":"Name","type":"string"},"state":{"description":"active | inactive | unconfigured | finalized","title":"State","type":"string"},"type":{"title":"Type","type":"string"}},"required":["name","type","state"],"title":"ControllerInfo","type":"object"}},"additionalProperties":false,"properties":{"controllers":{"items":{"$ref":"#/$defs/ControllerInfo"},"title":"Controllers","type":"array"},"switchable":{"description":"Controllers the policy allows to be (de)activated","items":{"type":"string"},"title":"Switchable","type":"array"}},"required":["controllers","switchable"],"title":"ControllerList","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Set the robot's collision (reflex) thresholds. Values above the policy maxima are rejected.","inputSchema":{"properties":{"force_n":{"description":"Collision force threshold [N]; <= policy max_contact_force_n","exclusiveMinimum":0,"maximum":25.0,"title":"Force N","type":"number"},"torque_nm":{"description":"Collision torque threshold [N*m]; <= policy max_contact_torque_nm","exclusiveMinimum":0,"maximum":5.0,"title":"Torque Nm","type":"number"}},"required":["force_n","torque_nm"],"title":"set_collision_thresholdsArguments","type":"object"},"name":"set_collision_thresholds","outputSchema":{"additionalProperties":false,"description":"Generic result for state-changing tools.","properties":{"data":{"additionalProperties":true,"title":"Data","type":"object"},"message":{"title":"Message","type":"string"},"ok":{"title":"Ok","type":"boolean"}},"required":["ok","message"],"title":"ActionResult","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":false},"description":"Stop the current motion immediately: the arm trajectory and any gripper action. Always\navailable, never rate limited, never needs approval. Does not latch; use estop to also block\nfurther motion.","inputSchema":{"properties":{},"title":"stop_motionArguments","type":"object"},"name":"stop_motion","outputSchema":{"additionalProperties":false,"description":"Generic result for state-changing tools.","properties":{"data":{"additionalProperties":true,"title":"Data","type":"object"},"message":{"title":"Message","type":"string"},"ok":{"title":"Ok","type":"boolean"}},"required":["ok","message"],"title":"ActionResult","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":false},"description":"SOFTWARE E-STOP: stop all motion (arm and gripper), invalidate every plan and refuse\nmotion/gripper/control tools until a human approves reset_estop. Always available, never rate\nlimited, never needs approval, accepts any reason. This is not a substitute for the hardware\ne-stop.","inputSchema":{"properties":{"reason":{"default":null,"description":"Optional short reason, shown to the human who resets the e-stop","title":"Reason"}},"title":"estopArguments","type":"object"},"name":"estop","outputSchema":{"$defs":{"Violation":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable code, e.g. JOINT_LIMIT, WORKSPACE, KEEP_OUT","title":"Code","type":"string"},"detail":{"additionalProperties":true,"title":"Detail","type":"object"},"message":{"title":"Message","type":"string"},"severity":{"description":"hard = never executable; soft = needs human approval","enum":["hard","soft"],"title":"Severity","type":"string"}},"required":["code","severity","message"],"title":"Violation","type":"object"}},"additionalProperties":false,"properties":{"dry_run":{"title":"Dry Run","type":"boolean"},"estop_event":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Number of the latched e-stop event","title":"Estop Event"},"estopped":{"title":"Estopped","type":"boolean"},"estopped_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Estopped At"},"executing_plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Executing Plan Id"},"force_violation_latched":{"title":"Force Violation Latched","type":"boolean"},"last_violation":{"anyOf":[{"$ref":"#/$defs/Violation"},{"type":"null"}],"default":null},"note":{"default":"Software envelope only (defense in depth). The robot's own safety system and hardware e-stop remain the real safety layer.","title":"Note","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Reason"},"reason_source":{"anyOf":[{"enum":["agent","server"],"type":"string"},{"type":"null"}],"default":null,"description":"Who gave the reason: the AI agent (via estop) or the server itself","title":"Reason Source"}},"required":["estopped","dry_run","force_violation_latched"],"title":"SafetyStatus","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Release the software e-stop (and any latched force violation). ALWAYS requires human approval via\nthe MCP client, regardless of the approval mode. An approval only releases the e-stop event it was\nshown for; if another e-stop is latched while the prompt is open, call reset_estop again.","inputSchema":{"properties":{},"title":"reset_estopArguments","type":"object"},"name":"reset_estop","outputSchema":{"$defs":{"Violation":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable code, e.g. JOINT_LIMIT, WORKSPACE, KEEP_OUT","title":"Code","type":"string"},"detail":{"additionalProperties":true,"title":"Detail","type":"object"},"message":{"title":"Message","type":"string"},"severity":{"description":"hard = never executable; soft = needs human approval","enum":["hard","soft"],"title":"Severity","type":"string"}},"required":["code","severity","message"],"title":"Violation","type":"object"}},"additionalProperties":false,"properties":{"dry_run":{"title":"Dry Run","type":"boolean"},"estop_event":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Number of the latched e-stop event","title":"Estop Event"},"estopped":{"title":"Estopped","type":"boolean"},"estopped_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Estopped At"},"executing_plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Executing Plan Id"},"force_violation_latched":{"title":"Force Violation Latched","type":"boolean"},"last_violation":{"anyOf":[{"$ref":"#/$defs/Violation"},{"type":"null"}],"default":null},"note":{"default":"Software envelope only (defense in depth). The robot's own safety system and hardware e-stop remain the real safety layer.","title":"Note","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Reason"},"reason_source":{"anyOf":[{"enum":["agent","server"],"type":"string"},{"type":"null"}],"default":null,"description":"Who gave the reason: the AI agent (via estop) or the server itself","title":"Reason Source"}},"required":["estopped","dry_run","force_violation_latched"],"title":"SafetyStatus","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Clear the robot's error/reflex state (e.g. after a collision reflex). May require human approval.\nRefused while the software e-stop is active (reset it first).","inputSchema":{"properties":{},"title":"error_recoveryArguments","type":"object"},"name":"error_recovery","outputSchema":{"additionalProperties":false,"description":"Generic result for state-changing tools.","properties":{"data":{"additionalProperties":true,"title":"Data","type":"object"},"message":{"title":"Message","type":"string"},"ok":{"title":"Ok","type":"boolean"}},"required":["ok","message"],"title":"ActionResult","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"E-stop state, latched force violation, dry-run flag and the last envelope violation. Never rate limited.","inputSchema":{"properties":{},"title":"get_safety_statusArguments","type":"object"},"name":"get_safety_status","outputSchema":{"$defs":{"Violation":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable code, e.g. JOINT_LIMIT, WORKSPACE, KEEP_OUT","title":"Code","type":"string"},"detail":{"additionalProperties":true,"title":"Detail","type":"object"},"message":{"title":"Message","type":"string"},"severity":{"description":"hard = never executable; soft = needs human approval","enum":["hard","soft"],"title":"Severity","type":"string"}},"required":["code","severity","message"],"title":"Violation","type":"object"}},"additionalProperties":false,"properties":{"dry_run":{"title":"Dry Run","type":"boolean"},"estop_event":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Number of the latched e-stop event","title":"Estop Event"},"estopped":{"title":"Estopped","type":"boolean"},"estopped_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Estopped At"},"executing_plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Executing Plan Id"},"force_violation_latched":{"title":"Force Violation Latched","type":"boolean"},"last_violation":{"anyOf":[{"$ref":"#/$defs/Violation"},{"type":"null"}],"default":null},"note":{"default":"Software envelope only (defense in depth). The robot's own safety system and hardware e-stop remain the real safety layer.","title":"Note","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Reason"},"reason_source":{"anyOf":[{"enum":["agent","server"],"type":"string"},{"type":"null"}],"default":null,"description":"Who gave the reason: the AI agent (via estop) or the server itself","title":"Reason Source"}},"required":["estopped","dry_run","force_violation_latched"],"title":"SafetyStatus","type":"object"}}],"ttlMs":0}}}
{"at":"2026-11-23T03:17:34.350Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T03:17:35.339Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{"listChanged":false},"resources":{"listChanged":false,"subscribe":false},"tools":{"listChanged":false}},"instructions":"armguard-mcp controls a real robot arm through a server-side safety envelope.\nWorkflow: call get_safety_envelope first and plan within it. Motion is two-step: plan_to_joints /\nplan_to_pose / plan_cartesian_path return a plan summary and a plan_id; inspect it, then call\nexecute_plan(plan_id). Plans are single-use and expire. A human may be asked to approve execution;\nnever try to work around a denial. Limits (joint limits, workspace box, keep-out zones, speed caps,\nstep sizes, force thresholds, rate limits) are enforced by the server, not by you: rejected plans can\nnever be executed. stop_motion and estop are always available and never rate limited; use them\nwhenever anything looks wrong. Units: metres, radians, seconds, newtons.\n","protocolVersion":"2025-11-25","serverInfo":{"name":"armguard-mcp","title":"armguard-mcp: safety-first MCP server for ROS 2 manipulators","version":"0.1.1"}}}}
{"at":"2026-11-23T03:17:35.339Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T03:17:35.339Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T03:17:35.342Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Current joint positions [rad], TCP pose [m, quaternion xyzw] in the robot base frame, estimated\nexternal wrench [N, N*m], gripper state and safety status. Read-only.","inputSchema":{"properties":{},"title":"get_robot_stateArguments","type":"object"},"name":"get_robot_state","outputSchema":{"$defs":{"GripperState":{"additionalProperties":false,"properties":{"is_grasped":{"title":"Is Grasped","type":"boolean"},"max_width_m":{"title":"Max Width M","type":"number"},"stamp":{"default":0.0,"title":"Stamp","type":"number"},"width_m":{"title":"Width M","type":"number"}},"required":["width_m","max_width_m","is_grasped"],"title":"GripperState","type":"object"},"JointState":{"additionalProperties":false,"properties":{"efforts":{"description":"[N*m]","items":{"type":"number"},"title":"Efforts","type":"array"},"names":{"items":{"type":"string"},"title":"Names","type":"array"},"positions":{"description":"[rad]","items":{"type":"number"},"title":"Positions","type":"array"},"stamp":{"default":0.0,"description":"Seconds since epoch (backend clock)","title":"Stamp","type":"number"},"velocities":{"description":"[rad/s]","items":{"type":"number"},"title":"Velocities","type":"array"}},"required":["names","positions"],"title":"JointState","type":"object"},"Pose":{"additionalProperties":false,"properties":{"frame_id":{"description":"Frame the pose is expressed in","title":"Frame Id","type":"string"},"orientation":{"$ref":"#/$defs/Quaternion","description":"Unit quaternion (x, y, z, w)"},"position":{"$ref":"#/$defs/Vector3"}},"required":["frame_id","position"],"title":"Pose","type":"object"},"Quaternion":{"additionalProperties":false,"description":"Unit quaternion (x, y, z, w), ROS convention; the identity is (0, 0, 0, 1).","properties":{"w":{"default":1.0,"description":"w (scalar part)","title":"W","type":"number"},"x":{"default":0.0,"description":"x (vector part)","title":"X","type":"number"},"y":{"default":0.0,"description":"y (vector part)","title":"Y","type":"number"},"z":{"default":0.0,"description":"z (vector part)","title":"Z","type":"number"}},"title":"Quaternion","type":"object"},"SafetyStatus":{"additionalProperties":false,"properties":{"dry_run":{"title":"Dry Run","type":"boolean"},"estop_event":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Number of the latched e-stop event","title":"Estop Event"},"estopped":{"title":"Estopped","type":"boolean"},"estopped_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Estopped At"},"executing_plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Executing Plan Id"},"force_violation_latched":{"title":"Force Violation Latched","type":"boolean"},"last_violation":{"anyOf":[{"$ref":"#/$defs/Violation"},{"type":"null"}],"default":null},"note":{"default":"Software envelope only (defense in depth). The robot's own safety system and hardware e-stop remain the real safety layer.","title":"Note","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Reason"},"reason_source":{"anyOf":[{"enum":["agent","server"],"type":"string"},{"type":"null"}],"default":null,"description":"Who gave the reason: the AI agent (via estop) or the server itself","title":"Reason Source"}},"required":["estopped","dry_run","force_violation_latched"],"title":"SafetyStatus","type":"object"},"Vector3":{"additionalProperties":false,"description":"A 3-vector. Its unit is given by the field that holds it ([m] for positions, [N] / [N*m] in wrenches).","properties":{"x":{"description":"x component","title":"X","type":"number"},"y":{"description":"y component","title":"Y","type":"number"},"z":{"description":"z component","title":"Z","type":"number"}},"required":["x","y","z"],"title":"Vector3","type":"object"},"Violation":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable code, e.g. JOINT_LIMIT, WORKSPACE, KEEP_OUT","title":"Code","type":"string"},"detail":{"additionalProperties":true,"title":"Detail","type":"object"},"message":{"title":"Message","type":"string"},"severity":{"description":"hard = never executable; soft = needs human approval","enum":["hard","soft"],"title":"Severity","type":"string"}},"required":["code","severity","message"],"title":"Violation","type":"object"},"Wrench":{"additionalProperties":false,"properties":{"force":{"$ref":"#/$defs/Vector3","description":"[N]"},"frame_id":{"title":"Frame Id","type":"string"},"stamp":{"default":0.0,"title":"Stamp","type":"number"},"torque":{"$ref":"#/$defs/Vector3","description":"[N*m]"}},"required":["frame_id","force","torque"],"title":"Wrench","type":"object"}},"additionalProperties":false,"properties":{"backend":{"title":"Backend","type":"string"},"ee_pose":{"$ref":"#/$defs/Pose"},"gripper":{"anyOf":[{"$ref":"#/$defs/GripperState"},{"type":"null"}],"default":null},"joint_state":{"$ref":"#/$defs/JointState"},"robot":{"title":"Robot","type":"string"},"safety":{"$ref":"#/$defs/SafetyStatus"},"wrench":{"anyOf":[{"$ref":"#/$defs/Wrench"},{"type":"null"}],"default":null}},"required":["robot","backend","joint_state","ee_pose","safety"],"title":"RobotState","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"The limits the server enforces (joint limits, workspace box, keep-out zones, speed/step caps,\nforce thresholds, gripper limits, approval mode). Read this before planning and stay inside it:\nviolations are rejected server-side and cannot be overridden.","inputSchema":{"properties":{},"title":"get_safety_envelopeArguments","type":"object"},"name":"get_safety_envelope","outputSchema":{"$defs":{"ApprovalSection":{"additionalProperties":false,"properties":{"mode":{"default":"outside_envelope","enum":["always","outside_envelope","never"],"title":"Mode","type":"string"},"on_client_without_elicitation":{"default":"deny","enum":["deny","allow"],"title":"On Client Without Elicitation","type":"string"},"require_for":{"items":{"enum":["execute","switch_controllers","reset_estop","error_recovery","set_collision_thresholds"],"type":"string"},"title":"Require For","type":"array"}},"title":"ApprovalSection","type":"object"},"Box":{"additionalProperties":false,"properties":{"max":{"description":"[m] in the robot base frame","maxItems":3,"minItems":3,"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"title":"Max","type":"array"},"min":{"description":"[m] in the robot base frame","maxItems":3,"minItems":3,"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"title":"Min","type":"array"}},"required":["min","max"],"title":"Box","type":"object"},"ForceSection":{"additionalProperties":false,"properties":{"max_contact_force_n":{"exclusiveMinimum":0,"title":"Max Contact Force N","type":"number"},"max_contact_torque_nm":{"exclusiveMinimum":0,"title":"Max Contact Torque Nm","type":"number"},"monitor_rate_hz":{"default":200.0,"exclusiveMinimum":0,"maximum":5000,"title":"Monitor Rate Hz","type":"number"},"require_wrench":{"default":true,"description":"Refuse to execute when the backend provides no external wrench estimate (fail closed). false = allow motion with NO server-side force limit (the approval prompt says so)","title":"Require Wrench","type":"boolean"},"wrench_timeout_s":{"default":0.1,"description":"While executing, a wrench read that takes longer than this, or a wrench stamp that stops advancing for longer than this, is a monitor failure: the motion is stopped","exclusiveMinimum":0,"maximum":2.0,"title":"Wrench Timeout S","type":"number"}},"required":["max_contact_force_n","max_contact_torque_nm"],"title":"ForceSection","type":"object"},"GripperSection":{"additionalProperties":false,"properties":{"max_grasp_force_n":{"exclusiveMinimum":0,"title":"Max Grasp Force N","type":"number"},"max_speed_mps":{"exclusiveMinimum":0,"title":"Max Speed Mps","type":"number"},"max_width_m":{"exclusiveMinimum":0,"title":"Max Width M","type":"number"},"min_width_m":{"default":0.0,"minimum":0,"title":"Min Width M","type":"number"}},"required":["max_width_m","max_grasp_force_n","max_speed_mps"],"title":"GripperSection","type":"object"},"JointLimit":{"additionalProperties":false,"properties":{"max":{"description":"[rad]","title":"Max","type":"number"},"max_acceleration":{"default":10.0,"description":"[rad/s^2]","exclusiveMinimum":0,"title":"Max Acceleration","type":"number"},"max_velocity":{"description":"[rad/s]","exclusiveMinimum":0,"title":"Max Velocity","type":"number"},"min":{"description":"[rad]","title":"Min","type":"number"}},"required":["min","max","max_velocity"],"title":"JointLimit","type":"object"},"KeepOutZone":{"additionalProperties":false,"properties":{"max":{"description":"[m] in the robot base frame","maxItems":3,"minItems":3,"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"title":"Max","type":"array"},"min":{"description":"[m] in the robot base frame","maxItems":3,"minItems":3,"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"title":"Min","type":"array"},"name":{"title":"Name","type":"string"}},"required":["min","max","name"],"title":"KeepOutZone","type":"object"},"MotionSection":{"additionalProperties":false,"properties":{"cartesian_eef_step_m":{"default":0.005,"exclusiveMinimum":0,"title":"Cartesian Eef Step M","type":"number"},"check_resolution_rad":{"default":0.02,"description":"Joint-space sampling for envelope checks","exclusiveMinimum":0,"title":"Check Resolution Rad","type":"number"},"default_acceleration_scaling":{"default":0.1,"exclusiveMinimum":0,"maximum":1,"title":"Default Acceleration Scaling","type":"number"},"default_velocity_scaling":{"default":0.1,"exclusiveMinimum":0,"maximum":1,"title":"Default Velocity Scaling","type":"number"},"joint_limit_margin_rad":{"default":0.05,"minimum":0,"title":"Joint Limit Margin Rad","type":"number"},"max_acceleration_scaling":{"exclusiveMinimum":0,"maximum":1,"title":"Max Acceleration Scaling","type":"number"},"max_cartesian_step_m":{"description":"Hard cap on TCP path length of a Cartesian plan","exclusiveMinimum":0,"title":"Max Cartesian Step M","type":"number"},"max_joint_step_rad":{"description":"Hard cap on any joint's travel in one plan","exclusiveMinimum":0,"title":"Max Joint Step Rad","type":"number"},"max_velocity_scaling":{"exclusiveMinimum":0,"maximum":1,"title":"Max Velocity Scaling","type":"number"},"plan_ttl_s":{"default":120.0,"exclusiveMinimum":0,"title":"Plan Ttl S","type":"number"},"soft_joint_step_rad":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Above this travel a plan counts as outside the envelope (needs approval)","title":"Soft Joint Step Rad"},"start_tolerance_rad":{"default":0.01,"description":"Max drift from plan start before 'stale'","exclusiveMinimum":0,"title":"Start Tolerance Rad","type":"number"},"tcp_check_resolution_m":{"default":0.01,"description":"Envelope samples are refined until consecutive TCP positions are at most this far apart; keep-out zones are then tested against every segment between samples","exclusiveMinimum":0,"maximum":0.05,"title":"Tcp Check Resolution M","type":"number"}},"required":["max_velocity_scaling","max_acceleration_scaling","max_joint_step_rad","max_cartesian_step_m"],"title":"MotionSection","type":"object"},"RateLimitsSection":{"additionalProperties":false,"properties":{"default_per_minute":{"default":60,"minimum":1,"title":"Default Per Minute","type":"integer"},"global_per_minute":{"default":120,"minimum":1,"title":"Global Per Minute","type":"integer"},"per_tool":{"additionalProperties":{"type":"integer"},"title":"Per Tool","type":"object"}},"title":"RateLimitsSection","type":"object"},"WorkspaceSection":{"additionalProperties":false,"properties":{"box":{"$ref":"#/$defs/Box"},"keep_out":{"items":{"$ref":"#/$defs/KeepOutZone"},"title":"Keep Out","type":"array"}},"required":["box"],"title":"WorkspaceSection","type":"object"}},"properties":{"approval":{"$ref":"#/$defs/ApprovalSection"},"base_frame":{"title":"Base Frame","type":"string"},"camera_topics":{"items":{"type":"string"},"title":"Camera Topics","type":"array"},"controllers_allowlist":{"items":{"type":"string"},"title":"Controllers Allowlist","type":"array"},"dry_run":{"title":"Dry Run","type":"boolean"},"ee_frame":{"title":"Ee Frame","type":"string"},"enabled_tool_groups":{"items":{"type":"string"},"title":"Enabled Tool Groups","type":"array"},"force":{"$ref":"#/$defs/ForceSection"},"gripper":{"anyOf":[{"$ref":"#/$defs/GripperSection"},{"type":"null"}]},"home_joint_positions":{"items":{"type":"number"},"title":"Home Joint Positions","type":"array"},"joint_limits":{"additionalProperties":{"$ref":"#/$defs/JointLimit"},"title":"Joint Limits","type":"object"},"joint_names":{"items":{"type":"string"},"title":"Joint Names","type":"array"},"max_image_width":{"title":"Max Image Width","type":"integer"},"motion":{"$ref":"#/$defs/MotionSection"},"rate_limits":{"$ref":"#/$defs/RateLimitsSection"},"robot":{"title":"Robot","type":"string"},"summary":{"title":"Summary","type":"string"},"workspace":{"$ref":"#/$defs/WorkspaceSection"}},"required":["summary","robot","base_frame","ee_frame","joint_names","joint_limits","home_joint_positions","workspace","motion","force","gripper","controllers_allowlist","camera_topics","max_image_width","approval","rate_limits","dry_run","enabled_tool_groups"],"title":"SafetyEnvelopeInfo","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Pose of source_frame expressed in target_frame (tf2 semantics), e.g. target_frame='fr3_link0',\nsource_frame='fr3_hand_tcp'. Position in metres, orientation as a quaternion (x, y, z, w).","inputSchema":{"properties":{"source_frame":{"title":"Source Frame","type":"string"},"target_frame":{"title":"Target Frame","type":"string"}},"required":["target_frame","source_frame"],"title":"lookup_transformArguments","type":"object"},"name":"lookup_transform","outputSchema":{"$defs":{"Quaternion":{"additionalProperties":false,"description":"Unit quaternion (x, y, z, w), ROS convention; the identity is (0, 0, 0, 1).","properties":{"w":{"default":1.0,"description":"w (scalar part)","title":"W","type":"number"},"x":{"default":0.0,"description":"x (vector part)","title":"X","type":"number"},"y":{"default":0.0,"description":"y (vector part)","title":"Y","type":"number"},"z":{"default":0.0,"description":"z (vector part)","title":"Z","type":"number"}},"title":"Quaternion","type":"object"},"Vector3":{"additionalProperties":false,"description":"A 3-vector. Its unit is given by the field that holds it ([m] for positions, [N] / [N*m] in wrenches).","properties":{"x":{"description":"x component","title":"X","type":"number"},"y":{"description":"y component","title":"Y","type":"number"},"z":{"description":"z component","title":"Z","type":"number"}},"required":["x","y","z"],"title":"Vector3","type":"object"}},"additionalProperties":false,"properties":{"frame_id":{"description":"Frame the pose is expressed in","title":"Frame Id","type":"string"},"orientation":{"$ref":"#/$defs/Quaternion","description":"Unit quaternion (x, y, z, w)"},"position":{"$ref":"#/$defs/Vector3"}},"required":["frame_id","position"],"title":"Pose","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"ros2_control controllers with their type and state, plus which ones the policy lets you switch.","inputSchema":{"properties":{},"title":"list_controllersArguments","type":"object"},"name":"list_controllers","outputSchema":{"$defs":{"ControllerInfo":{"additionalProperties":false,"properties":{"name":{"title":"Name","type":"string"},"state":{"description":"active | inactive | unconfigured | finalized","title":"State","type":"string"},"type":{"title":"Type","type":"string"}},"required":["name","type","state"],"title":"ControllerInfo","type":"object"}},"additionalProperties":false,"properties":{"controllers":{"items":{"$ref":"#/$defs/ControllerInfo"},"title":"Controllers","type":"array"},"switchable":{"description":"Controllers the policy allows to be (de)activated","items":{"type":"string"},"title":"Switchable","type":"array"}},"required":["controllers","switchable"],"title":"ControllerList","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"ROS 2 nodes, topics, services and actions visible to the server. Read-only; you cannot publish\nor call arbitrary services through this server.","inputSchema":{"properties":{},"title":"list_ros_graphArguments","type":"object"},"name":"list_ros_graph","outputSchema":{"additionalProperties":false,"properties":{"actions":{"items":{"type":"string"},"title":"Actions","type":"array"},"nodes":{"items":{"type":"string"},"title":"Nodes","type":"array"},"services":{"items":{"type":"string"},"title":"Services","type":"array"},"topics":{"items":{"type":"string"},"title":"Topics","type":"array"}},"required":["nodes","topics","services","actions"],"title":"GraphInfo","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"The last n audit-log events (tool calls, approvals, denials, e-stops). Images are redacted.","inputSchema":{"properties":{"n":{"default":20,"maximum":200,"minimum":1,"title":"N","type":"integer"}},"title":"get_audit_tailArguments","type":"object"},"name":"get_audit_tail","outputSchema":{"properties":{"events":{"items":{"additionalProperties":true,"type":"object"},"title":"Events","type":"array"}},"required":["events"],"title":"AuditTail","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Grab the latest image from an allowlisted camera topic (see get_safety_envelope.camera_topics).\nReturns the image plus JSON metadata (width, height, stamp). Images wider than the policy's\nmax_image_width are downscaled (or refused if Pillow is not installed).","inputSchema":{"properties":{"topic":{"title":"Topic","type":"string"}},"required":["topic"],"title":"camera_snapshotArguments","type":"object"},"name":"camera_snapshot"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":true},"description":"Plan (do NOT move) a joint-space motion from the current state to joint_positions [rad].\nReturns a plan summary validated against the safety envelope; if status is not 'rejected',\npass plan_id to execute_plan. Scaling above the policy cap is clamped.","inputSchema":{"properties":{"acceleration_scaling":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Fraction of max joint accel (0, 1]","exclusiveMinimum":0,"maximum":1,"title":"Acceleration Scaling"},"joint_positions":{"description":"Target joint positions [rad], one per joint in the order ['fr3_joint1', 'fr3_joint2', 'fr3_joint3', 'fr3_joint4', 'fr3_joint5', 'fr3_joint6', 'fr3_joint7']","items":{"type":"number"},"maxItems":7,"minItems":7,"title":"Joint Positions","type":"array"},"velocity_scaling":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Fraction of max joint speed (0, 1]","exclusiveMinimum":0,"maximum":1,"title":"Velocity Scaling"}},"required":["joint_positions"],"title":"plan_to_jointsArguments","type":"object"},"name":"plan_to_joints","outputSchema":{"$defs":{"Pose":{"additionalProperties":false,"properties":{"frame_id":{"description":"Frame the pose is expressed in","title":"Frame Id","type":"string"},"orientation":{"$ref":"#/$defs/Quaternion","description":"Unit quaternion (x, y, z, w)"},"position":{"$ref":"#/$defs/Vector3"}},"required":["frame_id","position"],"title":"Pose","type":"object"},"Quaternion":{"additionalProperties":false,"description":"Unit quaternion (x, y, z, w), ROS convention; the identity is (0, 0, 0, 1).","properties":{"w":{"default":1.0,"description":"w (scalar part)","title":"W","type":"number"},"x":{"default":0.0,"description":"x (vector part)","title":"X","type":"number"},"y":{"default":0.0,"description":"y (vector part)","title":"Y","type":"number"},"z":{"default":0.0,"description":"z (vector part)","title":"Z","type":"number"}},"title":"Quaternion","type":"object"},"Vector3":{"additionalProperties":false,"description":"A 3-vector. Its unit is given by the field that holds it ([m] for positions, [N] / [N*m] in wrenches).","properties":{"x":{"description":"x component","title":"X","type":"number"},"y":{"description":"y component","title":"Y","type":"number"},"z":{"description":"z component","title":"Z","type":"number"}},"required":["x","y","z"],"title":"Vector3","type":"object"},"Violation":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable code, e.g. JOINT_LIMIT, WORKSPACE, KEEP_OUT","title":"Code","type":"string"},"detail":{"additionalProperties":true,"title":"Detail","type":"object"},"message":{"title":"Message","type":"string"},"severity":{"description":"hard = never executable; soft = needs human approval","enum":["hard","soft"],"title":"Severity","type":"string"}},"required":["code","severity","message"],"title":"Violation","type":"object"}},"additionalProperties":false,"description":"What the LLM sees after planning. The full trajectory stays server-side.","properties":{"acceleration_scaling":{"title":"Acceleration Scaling","type":"number"},"dry_run":{"title":"Dry Run","type":"boolean"},"duration_s":{"title":"Duration S","type":"number"},"executable":{"title":"Executable","type":"boolean"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"ISO-8601 UTC expiry of the plan handle","title":"Expires At"},"final_ee_pose":{"$ref":"#/$defs/Pose"},"final_joint_positions":{"items":{"type":"number"},"title":"Final Joint Positions","type":"array"},"force_monitoring":{"description":"Whether the backend currently provides an external wrench estimate. Without one the server cannot enforce the contact force limit, and execute_plan refuses to move unless the policy sets force.require_wrench: false","enum":["available","unavailable"],"title":"Force Monitoring","type":"string"},"kind":{"enum":["joints","pose","cartesian"],"title":"Kind","type":"string"},"max_joint_acceleration_ratio":{"description":"Peak joint acceleration (estimated from the waypoint timing) as a fraction of the joint limit","title":"Max Joint Acceleration Ratio","type":"number"},"max_joint_travel_rad":{"title":"Max Joint Travel Rad","type":"number"},"max_joint_velocity_ratio":{"description":"Peak joint speed as a fraction of the joint limit","title":"Max Joint Velocity Ratio","type":"number"},"notes":{"items":{"type":"string"},"title":"Notes","type":"array"},"num_waypoints":{"title":"Num Waypoints","type":"integer"},"plan_id":{"title":"Plan Id","type":"string"},"requires_approval":{"title":"Requires Approval","type":"boolean"},"start_joint_positions":{"items":{"type":"number"},"title":"Start Joint Positions","type":"array"},"status":{"description":"rejected plans can never be executed; needs_approval requires a human to approve","enum":["executable","needs_approval","rejected"],"title":"Status","type":"string"},"tcp_path_length_m":{"title":"Tcp Path Length M","type":"number"},"velocity_scaling":{"title":"Velocity Scaling","type":"number"},"violations":{"items":{"$ref":"#/$defs/Violation"},"title":"Violations","type":"array"}},"required":["plan_id","kind","status","executable","duration_s","num_waypoints","start_joint_positions","final_joint_positions","final_ee_pose","max_joint_velocity_ratio","max_joint_acceleration_ratio","max_joint_travel_rad","tcp_path_length_m","velocity_scaling","acceleration_scaling","requires_approval","dry_run","force_monitoring"],"title":"PlanSummary","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":true},"description":"Plan (do NOT move) a motion that brings the TCP to a pose. Uses inverse kinematics; the path is\na joint-space interpolation (the TCP does not move in a straight line - use plan_cartesian_path\nfor that). Returns a plan summary validated against the safety envelope.","inputSchema":{"$defs":{"Quaternion":{"additionalProperties":false,"description":"Unit quaternion (x, y, z, w), ROS convention; the identity is (0, 0, 0, 1).","properties":{"w":{"default":1.0,"description":"w (scalar part)","title":"W","type":"number"},"x":{"default":0.0,"description":"x (vector part)","title":"X","type":"number"},"y":{"default":0.0,"description":"y (vector part)","title":"Y","type":"number"},"z":{"default":0.0,"description":"z (vector part)","title":"Z","type":"number"}},"title":"Quaternion","type":"object"},"Vector3":{"additionalProperties":false,"description":"A 3-vector. Its unit is given by the field that holds it ([m] for positions, [N] / [N*m] in wrenches).","properties":{"x":{"description":"x component","title":"X","type":"number"},"y":{"description":"y component","title":"Y","type":"number"},"z":{"description":"z component","title":"Z","type":"number"}},"required":["x","y","z"],"title":"Vector3","type":"object"}},"properties":{"acceleration_scaling":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Fraction of max joint accel (0, 1]","exclusiveMinimum":0,"maximum":1,"title":"Acceleration Scaling"},"frame_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Frame of the target; default = robot base frame","title":"Frame Id"},"orientation":{"anyOf":[{"$ref":"#/$defs/Quaternion"},{"type":"null"}],"default":null,"description":"Target TCP orientation (x, y, z, w); omit to keep current"},"position":{"$ref":"#/$defs/Vector3","description":"Target TCP position [m]"},"velocity_scaling":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Fraction of max joint speed (0, 1]","exclusiveMinimum":0,"maximum":1,"title":"Velocity Scaling"}},"required":["position"],"title":"plan_to_poseArguments","type":"object"},"name":"plan_to_pose","outputSchema":{"$defs":{"Pose":{"additionalProperties":false,"properties":{"frame_id":{"description":"Frame the pose is expressed in","title":"Frame Id","type":"string"},"orientation":{"$ref":"#/$defs/Quaternion","description":"Unit quaternion (x, y, z, w)"},"position":{"$ref":"#/$defs/Vector3"}},"required":["frame_id","position"],"title":"Pose","type":"object"},"Quaternion":{"additionalProperties":false,"description":"Unit quaternion (x, y, z, w), ROS convention; the identity is (0, 0, 0, 1).","properties":{"w":{"default":1.0,"description":"w (scalar part)","title":"W","type":"number"},"x":{"default":0.0,"description":"x (vector part)","title":"X","type":"number"},"y":{"default":0.0,"description":"y (vector part)","title":"Y","type":"number"},"z":{"default":0.0,"description":"z (vector part)","title":"Z","type":"number"}},"title":"Quaternion","type":"object"},"Vector3":{"additionalProperties":false,"description":"A 3-vector. Its unit is given by the field that holds it ([m] for positions, [N] / [N*m] in wrenches).","properties":{"x":{"description":"x component","title":"X","type":"number"},"y":{"description":"y component","title":"Y","type":"number"},"z":{"description":"z component","title":"Z","type":"number"}},"required":["x","y","z"],"title":"Vector3","type":"object"},"Violation":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable code, e.g. JOINT_LIMIT, WORKSPACE, KEEP_OUT","title":"Code","type":"string"},"detail":{"additionalProperties":true,"title":"Detail","type":"object"},"message":{"title":"Message","type":"string"},"severity":{"description":"hard = never executable; soft = needs human approval","enum":["hard","soft"],"title":"Severity","type":"string"}},"required":["code","severity","message"],"title":"Violation","type":"object"}},"additionalProperties":false,"description":"What the LLM sees after planning. The full trajectory stays server-side.","properties":{"acceleration_scaling":{"title":"Acceleration Scaling","type":"number"},"dry_run":{"title":"Dry Run","type":"boolean"},"duration_s":{"title":"Duration S","type":"number"},"executable":{"title":"Executable","type":"boolean"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"ISO-8601 UTC expiry of the plan handle","title":"Expires At"},"final_ee_pose":{"$ref":"#/$defs/Pose"},"final_joint_positions":{"items":{"type":"number"},"title":"Final Joint Positions","type":"array"},"force_monitoring":{"description":"Whether the backend currently provides an external wrench estimate. Without one the server cannot enforce the contact force limit, and execute_plan refuses to move unless the policy sets force.require_wrench: false","enum":["available","unavailable"],"title":"Force Monitoring","type":"string"},"kind":{"enum":["joints","pose","cartesian"],"title":"Kind","type":"string"},"max_joint_acceleration_ratio":{"description":"Peak joint acceleration (estimated from the waypoint timing) as a fraction of the joint limit","title":"Max Joint Acceleration Ratio","type":"number"},"max_joint_travel_rad":{"title":"Max Joint Travel Rad","type":"number"},"max_joint_velocity_ratio":{"description":"Peak joint speed as a fraction of the joint limit","title":"Max Joint Velocity Ratio","type":"number"},"notes":{"items":{"type":"string"},"title":"Notes","type":"array"},"num_waypoints":{"title":"Num Waypoints","type":"integer"},"plan_id":{"title":"Plan Id","type":"string"},"requires_approval":{"title":"Requires Approval","type":"boolean"},"start_joint_positions":{"items":{"type":"number"},"title":"Start Joint Positions","type":"array"},"status":{"description":"rejected plans can never be executed; needs_approval requires a human to approve","enum":["executable","needs_approval","rejected"],"title":"Status","type":"string"},"tcp_path_length_m":{"title":"Tcp Path Length M","type":"number"},"velocity_scaling":{"title":"Velocity Scaling","type":"number"},"violations":{"items":{"$ref":"#/$defs/Violation"},"title":"Violations","type":"array"}},"required":["plan_id","kind","status","executable","duration_s","num_waypoints","start_joint_positions","final_joint_positions","final_ee_pose","max_joint_velocity_ratio","max_joint_acceleration_ratio","max_joint_travel_rad","tcp_path_length_m","velocity_scaling","acceleration_scaling","requires_approval","dry_run","force_monitoring"],"title":"PlanSummary","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":true},"description":"Plan (do NOT move) a straight-line TCP path through the waypoints [m]. Total TCP path length is\ncapped by the policy (max_cartesian_step_m). Returns a plan summary validated against the envelope.","inputSchema":{"$defs":{"CartesianWaypoint":{"additionalProperties":false,"properties":{"orientation":{"anyOf":[{"$ref":"#/$defs/Quaternion"},{"type":"null"}],"default":null,"description":"TCP orientation (x, y, z, w); omit to keep the current orientation"},"position":{"$ref":"#/$defs/Vector3","description":"TCP position [m]"}},"required":["position"],"title":"CartesianWaypoint","type":"object"},"Quaternion":{"additionalProperties":false,"description":"Unit quaternion (x, y, z, w), ROS convention; the identity is (0, 0, 0, 1).","properties":{"w":{"default":1.0,"description":"w (scalar part)","title":"W","type":"number"},"x":{"default":0.0,"description":"x (vector part)","title":"X","type":"number"},"y":{"default":0.0,"description":"y (vector part)","title":"Y","type":"number"},"z":{"default":0.0,"description":"z (vector part)","title":"Z","type":"number"}},"title":"Quaternion","type":"object"},"Vector3":{"additionalProperties":false,"description":"A 3-vector. Its unit is given by the field that holds it ([m] for positions, [N] / [N*m] in wrenches).","properties":{"x":{"description":"x component","title":"X","type":"number"},"y":{"description":"y component","title":"Y","type":"number"},"z":{"description":"z component","title":"Z","type":"number"}},"required":["x","y","z"],"title":"Vector3","type":"object"}},"properties":{"acceleration_scaling":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Fraction of max joint accel (0, 1]","exclusiveMinimum":0,"maximum":1,"title":"Acceleration Scaling"},"frame_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Frame of the waypoints; default = base frame","title":"Frame Id"},"velocity_scaling":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Fraction of max joint speed (0, 1]","exclusiveMinimum":0,"maximum":1,"title":"Velocity Scaling"},"waypoints":{"description":"TCP waypoints, in order","items":{"$ref":"#/$defs/CartesianWaypoint"},"maxItems":50,"minItems":1,"title":"Waypoints","type":"array"}},"required":["waypoints"],"title":"plan_cartesian_pathArguments","type":"object"},"name":"plan_cartesian_path","outputSchema":{"$defs":{"Pose":{"additionalProperties":false,"properties":{"frame_id":{"description":"Frame the pose is expressed in","title":"Frame Id","type":"string"},"orientation":{"$ref":"#/$defs/Quaternion","description":"Unit quaternion (x, y, z, w)"},"position":{"$ref":"#/$defs/Vector3"}},"required":["frame_id","position"],"title":"Pose","type":"object"},"Quaternion":{"additionalProperties":false,"description":"Unit quaternion (x, y, z, w), ROS convention; the identity is (0, 0, 0, 1).","properties":{"w":{"default":1.0,"description":"w (scalar part)","title":"W","type":"number"},"x":{"default":0.0,"description":"x (vector part)","title":"X","type":"number"},"y":{"default":0.0,"description":"y (vector part)","title":"Y","type":"number"},"z":{"default":0.0,"description":"z (vector part)","title":"Z","type":"number"}},"title":"Quaternion","type":"object"},"Vector3":{"additionalProperties":false,"description":"A 3-vector. Its unit is given by the field that holds it ([m] for positions, [N] / [N*m] in wrenches).","properties":{"x":{"description":"x component","title":"X","type":"number"},"y":{"description":"y component","title":"Y","type":"number"},"z":{"description":"z component","title":"Z","type":"number"}},"required":["x","y","z"],"title":"Vector3","type":"object"},"Violation":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable code, e.g. JOINT_LIMIT, WORKSPACE, KEEP_OUT","title":"Code","type":"string"},"detail":{"additionalProperties":true,"title":"Detail","type":"object"},"message":{"title":"Message","type":"string"},"severity":{"description":"hard = never executable; soft = needs human approval","enum":["hard","soft"],"title":"Severity","type":"string"}},"required":["code","severity","message"],"title":"Violation","type":"object"}},"additionalProperties":false,"description":"What the LLM sees after planning. The full trajectory stays server-side.","properties":{"acceleration_scaling":{"title":"Acceleration Scaling","type":"number"},"dry_run":{"title":"Dry Run","type":"boolean"},"duration_s":{"title":"Duration S","type":"number"},"executable":{"title":"Executable","type":"boolean"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"ISO-8601 UTC expiry of the plan handle","title":"Expires At"},"final_ee_pose":{"$ref":"#/$defs/Pose"},"final_joint_positions":{"items":{"type":"number"},"title":"Final Joint Positions","type":"array"},"force_monitoring":{"description":"Whether the backend currently provides an external wrench estimate. Without one the server cannot enforce the contact force limit, and execute_plan refuses to move unless the policy sets force.require_wrench: false","enum":["available","unavailable"],"title":"Force Monitoring","type":"string"},"kind":{"enum":["joints","pose","cartesian"],"title":"Kind","type":"string"},"max_joint_acceleration_ratio":{"description":"Peak joint acceleration (estimated from the waypoint timing) as a fraction of the joint limit","title":"Max Joint Acceleration Ratio","type":"number"},"max_joint_travel_rad":{"title":"Max Joint Travel Rad","type":"number"},"max_joint_velocity_ratio":{"description":"Peak joint speed as a fraction of the joint limit","title":"Max Joint Velocity Ratio","type":"number"},"notes":{"items":{"type":"string"},"title":"Notes","type":"array"},"num_waypoints":{"title":"Num Waypoints","type":"integer"},"plan_id":{"title":"Plan Id","type":"string"},"requires_approval":{"title":"Requires Approval","type":"boolean"},"start_joint_positions":{"items":{"type":"number"},"title":"Start Joint Positions","type":"array"},"status":{"description":"rejected plans can never be executed; needs_approval requires a human to approve","enum":["executable","needs_approval","rejected"],"title":"Status","type":"string"},"tcp_path_length_m":{"title":"Tcp Path Length M","type":"number"},"velocity_scaling":{"title":"Velocity Scaling","type":"number"},"violations":{"items":{"$ref":"#/$defs/Violation"},"title":"Violations","type":"array"}},"required":["plan_id","kind","status","executable","duration_s","num_waypoints","start_joint_positions","final_joint_positions","final_ee_pose","max_joint_velocity_ratio","max_joint_acceleration_ratio","max_joint_travel_rad","tcp_path_length_m","velocity_scaling","acceleration_scaling","requires_approval","dry_run","force_monitoring"],"title":"PlanSummary","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"EXECUTE a previously planned motion on the robot. The server re-validates the plan against the\nsafety envelope, rejects stale/expired/used plans, may ask a human to approve (depending on\npolicy), monitors contact force while moving (aborting and latching an e-stop above the limit),\nand streams progress. Plan handles are single-use and one plan executes at a time. Refused if the\nrobot provides no force estimate (unless the policy allows it). Cancelling the call stops the\nrobot. In dry-run mode nothing moves.","inputSchema":{"properties":{"plan_id":{"description":"plan_id returned by a plan_* tool","title":"Plan Id","type":"string"}},"required":["plan_id"],"title":"execute_planArguments","type":"object"},"name":"execute_plan","outputSchema":{"$defs":{"Pose":{"additionalProperties":false,"properties":{"frame_id":{"description":"Frame the pose is expressed in","title":"Frame Id","type":"string"},"orientation":{"$ref":"#/$defs/Quaternion","description":"Unit quaternion (x, y, z, w)"},"position":{"$ref":"#/$defs/Vector3"}},"required":["frame_id","position"],"title":"Pose","type":"object"},"Quaternion":{"additionalProperties":false,"description":"Unit quaternion (x, y, z, w), ROS convention; the identity is (0, 0, 0, 1).","properties":{"w":{"default":1.0,"description":"w (scalar part)","title":"W","type":"number"},"x":{"default":0.0,"description":"x (vector part)","title":"X","type":"number"},"y":{"default":0.0,"description":"y (vector part)","title":"Y","type":"number"},"z":{"default":0.0,"description":"z (vector part)","title":"Z","type":"number"}},"title":"Quaternion","type":"object"},"Vector3":{"additionalProperties":false,"description":"A 3-vector. Its unit is given by the field that holds it ([m] for positions, [N] / [N*m] in wrenches).","properties":{"x":{"description":"x component","title":"X","type":"number"},"y":{"description":"y component","title":"Y","type":"number"},"z":{"description":"z component","title":"Z","type":"number"}},"required":["x","y","z"],"title":"Vector3","type":"object"}},"additionalProperties":false,"properties":{"approval":{"description":"How the execution was authorised","title":"Approval","type":"string"},"dry_run":{"title":"Dry Run","type":"boolean"},"duration_s":{"title":"Duration S","type":"number"},"executed":{"title":"Executed","type":"boolean"},"final_ee_pose":{"anyOf":[{"$ref":"#/$defs/Pose"},{"type":"null"}],"default":null},"final_joint_positions":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"default":null,"title":"Final Joint Positions"},"max_observed_force_n":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Max Observed Force N"},"message":{"title":"Message","type":"string"},"plan_id":{"title":"Plan Id","type":"string"},"status":{"enum":["completed","aborted","dry_run"],"title":"Status","type":"string"}},"required":["plan_id","status","message","executed","dry_run","approval","duration_s"],"title":"ExecutionReport","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Whether a plan is executing, its progress (0..1) and the result of the last execution.","inputSchema":{"properties":{},"title":"get_motion_statusArguments","type":"object"},"name":"get_motion_status","outputSchema":{"additionalProperties":false,"properties":{"executing":{"title":"Executing","type":"boolean"},"last_result":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Last Result"},"message":{"default":"","title":"Message","type":"string"},"plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Plan Id"},"progress":{"default":0.0,"description":"0..1 fraction of the active plan","title":"Progress","type":"number"}},"required":["executing"],"title":"MotionStatus","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Move the gripper fingers to an opening width [m] without applying grasp force.","inputSchema":{"properties":{"speed_mps":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Finger speed [m/s]; default = policy max","exclusiveMinimum":0,"maximum":0.1,"title":"Speed Mps"},"width_m":{"description":"Target finger opening [m], within the policy range","maximum":0.08,"minimum":0.0,"title":"Width M","type":"number"}},"required":["width_m"],"title":"gripper_moveArguments","type":"object"},"name":"gripper_move","outputSchema":{"additionalProperties":false,"description":"Generic result for state-changing tools.","properties":{"data":{"additionalProperties":true,"title":"Data","type":"object"},"message":{"title":"Message","type":"string"},"ok":{"title":"Ok","type":"boolean"}},"required":["ok","message"],"title":"ActionResult","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Close the gripper on an object of about width_m [m] with force_n [N]. Succeeds (ok=true) only\nif the fingers stop within [width - epsilon_inner, width + epsilon_outer]. Forces above the\npolicy maximum are rejected, not clamped.","inputSchema":{"properties":{"epsilon_inner_m":{"default":0.005,"description":"Tolerance [m]: the grasp succeeds down to width_m - epsilon_inner_m","maximum":0.05,"minimum":0,"title":"Epsilon Inner M","type":"number"},"epsilon_outer_m":{"default":0.005,"description":"Tolerance [m]: the grasp succeeds up to width_m + epsilon_outer_m","maximum":0.05,"minimum":0,"title":"Epsilon Outer M","type":"number"},"force_n":{"description":"Grasp force [N]; must not exceed the policy maximum","exclusiveMinimum":0,"maximum":40.0,"title":"Force N","type":"number"},"speed_mps":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Finger speed [m/s]; default = policy max","exclusiveMinimum":0,"maximum":0.1,"title":"Speed Mps"},"width_m":{"description":"Expected object width [m]","maximum":0.08,"minimum":0.0,"title":"Width M","type":"number"}},"required":["width_m","force_n"],"title":"gripper_graspArguments","type":"object"},"name":"gripper_grasp","outputSchema":{"additionalProperties":false,"description":"Generic result for state-changing tools.","properties":{"data":{"additionalProperties":true,"title":"Data","type":"object"},"message":{"title":"Message","type":"string"},"ok":{"title":"Ok","type":"boolean"}},"required":["ok","message"],"title":"ActionResult","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Home (fully open and calibrate) the gripper.","inputSchema":{"properties":{},"title":"gripper_homeArguments","type":"object"},"name":"gripper_home","outputSchema":{"additionalProperties":false,"description":"Generic result for state-changing tools.","properties":{"data":{"additionalProperties":true,"title":"Data","type":"object"},"message":{"title":"Message","type":"string"},"ok":{"title":"Ok","type":"boolean"}},"required":["ok","message"],"title":"ActionResult","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Activate/deactivate ros2_control controllers. Only controllers in the policy allowlist may be\nswitched; a human may need to approve.","inputSchema":{"properties":{"activate":{"default":[],"description":"Controllers to activate (must be allowlisted)","items":{"type":"string"},"title":"Activate","type":"array"},"deactivate":{"default":[],"description":"Controllers to deactivate (must be allowlisted)","items":{"type":"string"},"title":"Deactivate","type":"array"}},"title":"switch_controllersArguments","type":"object"},"name":"switch_controllers","outputSchema":{"$defs":{"ControllerInfo":{"additionalProperties":false,"properties":{"name":{"title":"Name","type":"string"},"state":{"description":"active | inactive | unconfigured | finalized","title":"State","type":"string"},"type":{"title":"Type","type":"string"}},"required":["name","type","state"],"title":"ControllerInfo","type":"object"}},"additionalProperties":false,"properties":{"controllers":{"items":{"$ref":"#/$defs/ControllerInfo"},"title":"Controllers","type":"array"},"switchable":{"description":"Controllers the policy allows to be (de)activated","items":{"type":"string"},"title":"Switchable","type":"array"}},"required":["controllers","switchable"],"title":"ControllerList","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Set the robot's collision (reflex) thresholds. Values above the policy maxima are rejected.","inputSchema":{"properties":{"force_n":{"description":"Collision force threshold [N]; <= policy max_contact_force_n","exclusiveMinimum":0,"maximum":25.0,"title":"Force N","type":"number"},"torque_nm":{"description":"Collision torque threshold [N*m]; <= policy max_contact_torque_nm","exclusiveMinimum":0,"maximum":5.0,"title":"Torque Nm","type":"number"}},"required":["force_n","torque_nm"],"title":"set_collision_thresholdsArguments","type":"object"},"name":"set_collision_thresholds","outputSchema":{"additionalProperties":false,"description":"Generic result for state-changing tools.","properties":{"data":{"additionalProperties":true,"title":"Data","type":"object"},"message":{"title":"Message","type":"string"},"ok":{"title":"Ok","type":"boolean"}},"required":["ok","message"],"title":"ActionResult","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":false},"description":"Stop the current motion immediately: the arm trajectory and any gripper action. Always\navailable, never rate limited, never needs approval. Does not latch; use estop to also block\nfurther motion.","inputSchema":{"properties":{},"title":"stop_motionArguments","type":"object"},"name":"stop_motion","outputSchema":{"additionalProperties":false,"description":"Generic result for state-changing tools.","properties":{"data":{"additionalProperties":true,"title":"Data","type":"object"},"message":{"title":"Message","type":"string"},"ok":{"title":"Ok","type":"boolean"}},"required":["ok","message"],"title":"ActionResult","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":false},"description":"SOFTWARE E-STOP: stop all motion (arm and gripper), invalidate every plan and refuse\nmotion/gripper/control tools until a human approves reset_estop. Always available, never rate\nlimited, never needs approval, accepts any reason. This is not a substitute for the hardware\ne-stop.","inputSchema":{"properties":{"reason":{"default":null,"description":"Optional short reason, shown to the human who resets the e-stop","title":"Reason"}},"title":"estopArguments","type":"object"},"name":"estop","outputSchema":{"$defs":{"Violation":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable code, e.g. JOINT_LIMIT, WORKSPACE, KEEP_OUT","title":"Code","type":"string"},"detail":{"additionalProperties":true,"title":"Detail","type":"object"},"message":{"title":"Message","type":"string"},"severity":{"description":"hard = never executable; soft = needs human approval","enum":["hard","soft"],"title":"Severity","type":"string"}},"required":["code","severity","message"],"title":"Violation","type":"object"}},"additionalProperties":false,"properties":{"dry_run":{"title":"Dry Run","type":"boolean"},"estop_event":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Number of the latched e-stop event","title":"Estop Event"},"estopped":{"title":"Estopped","type":"boolean"},"estopped_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Estopped At"},"executing_plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Executing Plan Id"},"force_violation_latched":{"title":"Force Violation Latched","type":"boolean"},"last_violation":{"anyOf":[{"$ref":"#/$defs/Violation"},{"type":"null"}],"default":null},"note":{"default":"Software envelope only (defense in depth). The robot's own safety system and hardware e-stop remain the real safety layer.","title":"Note","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Reason"},"reason_source":{"anyOf":[{"enum":["agent","server"],"type":"string"},{"type":"null"}],"default":null,"description":"Who gave the reason: the AI agent (via estop) or the server itself","title":"Reason Source"}},"required":["estopped","dry_run","force_violation_latched"],"title":"SafetyStatus","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Release the software e-stop (and any latched force violation). ALWAYS requires human approval via\nthe MCP client, regardless of the approval mode. An approval only releases the e-stop event it was\nshown for; if another e-stop is latched while the prompt is open, call reset_estop again.","inputSchema":{"properties":{},"title":"reset_estopArguments","type":"object"},"name":"reset_estop","outputSchema":{"$defs":{"Violation":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable code, e.g. JOINT_LIMIT, WORKSPACE, KEEP_OUT","title":"Code","type":"string"},"detail":{"additionalProperties":true,"title":"Detail","type":"object"},"message":{"title":"Message","type":"string"},"severity":{"description":"hard = never executable; soft = needs human approval","enum":["hard","soft"],"title":"Severity","type":"string"}},"required":["code","severity","message"],"title":"Violation","type":"object"}},"additionalProperties":false,"properties":{"dry_run":{"title":"Dry Run","type":"boolean"},"estop_event":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Number of the latched e-stop event","title":"Estop Event"},"estopped":{"title":"Estopped","type":"boolean"},"estopped_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Estopped At"},"executing_plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Executing Plan Id"},"force_violation_latched":{"title":"Force Violation Latched","type":"boolean"},"last_violation":{"anyOf":[{"$ref":"#/$defs/Violation"},{"type":"null"}],"default":null},"note":{"default":"Software envelope only (defense in depth). The robot's own safety system and hardware e-stop remain the real safety layer.","title":"Note","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Reason"},"reason_source":{"anyOf":[{"enum":["agent","server"],"type":"string"},{"type":"null"}],"default":null,"description":"Who gave the reason: the AI agent (via estop) or the server itself","title":"Reason Source"}},"required":["estopped","dry_run","force_violation_latched"],"title":"SafetyStatus","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Clear the robot's error/reflex state (e.g. after a collision reflex). May require human approval.\nRefused while the software e-stop is active (reset it first).","inputSchema":{"properties":{},"title":"error_recoveryArguments","type":"object"},"name":"error_recovery","outputSchema":{"additionalProperties":false,"description":"Generic result for state-changing tools.","properties":{"data":{"additionalProperties":true,"title":"Data","type":"object"},"message":{"title":"Message","type":"string"},"ok":{"title":"Ok","type":"boolean"}},"required":["ok","message"],"title":"ActionResult","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"E-stop state, latched force violation, dry-run flag and the last envelope violation. Never rate limited.","inputSchema":{"properties":{},"title":"get_safety_statusArguments","type":"object"},"name":"get_safety_status","outputSchema":{"$defs":{"Violation":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable code, e.g. JOINT_LIMIT, WORKSPACE, KEEP_OUT","title":"Code","type":"string"},"detail":{"additionalProperties":true,"title":"Detail","type":"object"},"message":{"title":"Message","type":"string"},"severity":{"description":"hard = never executable; soft = needs human approval","enum":["hard","soft"],"title":"Severity","type":"string"}},"required":["code","severity","message"],"title":"Violation","type":"object"}},"additionalProperties":false,"properties":{"dry_run":{"title":"Dry Run","type":"boolean"},"estop_event":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Number of the latched e-stop event","title":"Estop Event"},"estopped":{"title":"Estopped","type":"boolean"},"estopped_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Estopped At"},"executing_plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Executing Plan Id"},"force_violation_latched":{"title":"Force Violation Latched","type":"boolean"},"last_violation":{"anyOf":[{"$ref":"#/$defs/Violation"},{"type":"null"}],"default":null},"note":{"default":"Software envelope only (defense in depth). The robot's own safety system and hardware e-stop remain the real safety layer.","title":"Note","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Reason"},"reason_source":{"anyOf":[{"enum":["agent","server"],"type":"string"},{"type":"null"}],"default":null,"description":"Who gave the reason: the AI agent (via estop) or the server itself","title":"Reason Source"}},"required":["estopped","dry_run","force_violation_latched"],"title":"SafetyStatus","type":"object"}}]}}}
