get_image
Fetch a single live frame from a ROS2 Image or CompressedImage topic as image content plus JSON metadata, with optional max-edge resizing for raw frames.
Instructions
One live frame as image content plus JSON metadata. CompressedImage passes through; raw needs topicforge[image]. Needs the sampling helper. Big best-effort frames can drop. Mock: a fixed gradient.
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": {
"topic": "<topic>"
},
"name": "get_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | A sensor_msgs/Image or CompressedImage topic. | |
| max_edge | No | Longest edge of a raw image. |