add_custom_category
Add a new category to your text classification model by providing its name and description, enabling custom classification beyond default categories.
Instructions
Add a new custom category for classification.
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": {
"category_name": "<category_name>",
"description": "<description>"
},
"name": "add_custom_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | Description of the category to generate its embedding | |
| category_name | Yes | Name of the new category |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |