gripper_grasp
Closes a robotic gripper on an object at a target width with a specified grasp force, verifying finger position stays within tolerance and rejecting force above the policy limit.
Instructions
Close the gripper on an object of about width_m [m] with force_n [N]. Succeeds (ok=true) only if the fingers stop within [width - epsilon_inner, width + epsilon_outer]. Forces above the policy maximum are rejected, not clamped.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"width_m": "<width_m>",
"force_n": "<force_n>"
},
"name": "gripper_grasp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force_n | Yes | Grasp force [N]; must not exceed the policy maximum | |
| width_m | Yes | Expected object width [m] | |
| speed_mps | No | Finger speed [m/s]; default = policy max | |
| epsilon_inner_m | No | Tolerance [m]: the grasp succeeds down to width_m - epsilon_inner_m | |
| epsilon_outer_m | No | Tolerance [m]: the grasp succeeds up to width_m + epsilon_outer_m |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| message | Yes |