draw_bounding_box
Draw a bounding box on an image to annotate a region of interest. Specify coordinates, label, color, and thickness.
Instructions
Draw a single bounding box on an image. Convenience wrapper around annotate.
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": {
"path": "<path>",
"bbox": "<bbox>"
},
"name": "draw_bounding_box"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | Yes | ||
| path | Yes | ||
| color | No | #FF0000 | |
| label | No | ||
| font_size | No | ||
| thickness | No | ||
| normalized | No | ||
| output_path | No |