add_categories
Add one or more new categories to an active dataset for object-detection annotation, ensuring atomic creation with unique names and optional descriptions.
Instructions
Add categories atomically to an active dataset.
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>",
"categories": "<categories>"
},
"name": "add_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| categories | Yes | Non-empty category creation requests. | |
| dataset_id | Yes | Active dataset that will own the categories. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | Contain ordered category records and their count. |