execute_plan
Executes a previously planned robot motion, re-validating safety limits, enforcing human approval, monitoring contact force, and streaming progress; cancelling stops the robot.
Instructions
EXECUTE a previously planned motion on the robot. The server re-validates the plan against the safety envelope, rejects stale/expired/used plans, may ask a human to approve (depending on policy), monitors contact force while moving (aborting and latching an e-stop above the limit), and streams progress. Plan handles are single-use and one plan executes at a time. Refused if the robot provides no force estimate (unless the policy allows it). Cancelling the call stops the robot. In dry-run mode nothing moves.
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": {
"plan_id": "<plan_id>"
},
"name": "execute_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | plan_id returned by a plan_* tool |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| dry_run | Yes | ||
| message | Yes | ||
| plan_id | Yes | ||
| approval | Yes | How the execution was authorised | |
| executed | Yes | ||
| duration_s | Yes | ||
| final_ee_pose | No | ||
| max_observed_force_n | No | ||
| final_joint_positions | No |