lookup_transform
Calculate the precise pose of a specified source frame relative to a target frame. Provides position and orientation data using TF2 semantics for robotic motion planning.
Instructions
Pose of source_frame expressed in target_frame (tf2 semantics), e.g. target_frame='fr3_link0', source_frame='fr3_hand_tcp'. Position in metres, orientation as a quaternion (x, y, z, w).
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": {
"target_frame": "<target_frame>",
"source_frame": "<source_frame>"
},
"name": "lookup_transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_frame | Yes | ||
| target_frame | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame_id | Yes | Frame the pose is expressed in | |
| position | Yes | ||
| orientation | No | Unit quaternion (x, y, z, w) |