add_rotated_bbox_annotations
Validate, correct, and commit rotated bounding box annotations using normalized polygon vertices, ensuring convexity, ordering, and rectangularity.
Instructions
Validate, correct, and add rotated annotations atomically.
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": {
"dataset_id": "<dataset_id>",
"image_path": "<image_path>",
"annotations": "<annotations>"
},
"name": "add_rotated_bbox_annotations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset_id | Yes | Active owning dataset identifier. | |
| image_path | Yes | Dataset-relative target image path. | |
| annotations | Yes | Non-empty rotated annotation requests. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | Contain created rotated annotations and their correction diagnostics. |