create_category
Create a new category or subcategory in a ServiceNow knowledge base, including title, description, parent category, and activation status.
Instructions
Create a new category in a knowledge base
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"CreateCategoryParams": {
"description": "Parameters for creating a category in a knowledge base.",
"properties": {
"active": {
"default": true,
"description": "Whether the category is active",
"title": "Active",
"type": "boolean"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Description of the category",
"title": "Description"
},
"knowledge_base": {
"description": "The knowledge base to create the category in",
"title": "Knowledge Base",
"type": "string"
},
"parent_category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Parent category (if creating a subcategory)",
"title": "Parent Category"
},
"title": {
"description": "Title of the category",
"title": "Title",
"type": "string"
}
},
"required": [
"title",
"knowledge_base"
],
"title": "CreateCategoryParams",
"type": "object"
}
},
"properties": {
"params": {
"$ref": "#/$defs/CreateCategoryParams"
}
},
"required": [
"params"
],
"title": "create_categoryArguments",
"type": "object"
}