{
  "name": "CreateAssetType",
  "fully_qualified_name": "FreshserviceApi.CreateAssetType@1.0.0",
  "description": "Create a new asset type in Freshservice.\n\nUse this tool to create a new asset type in Freshservice when setting up or managing assets. It automates the process of defining asset categories in the system.",
  "toolkit": {
    "name": "ArcadeFreshserviceApi",
    "description": null,
    "version": "1.0.0"
  },
  "input": {
    "parameters": [
      {
        "name": "asset_type_name",
        "required": true,
        "description": "The name of the asset type to be created.",
        "value_schema": {
          "val_type": "string",
          "inner_val_type": null,
          "enum": null,
          "properties": null,
          "inner_properties": null,
          "description": "Name of the asset type"
        },
        "inferrable": true,
        "http_endpoint_parameter_name": "name"
      },
      {
        "name": "asset_type_id",
        "required": false,
        "description": "Unique identifier for the asset type to be created.",
        "value_schema": {
          "val_type": "integer",
          "inner_val_type": null,
          "enum": null,
          "properties": null,
          "inner_properties": null,
          "description": "Unique identifier of the asset type"
        },
        "inferrable": true,
        "http_endpoint_parameter_name": "id"
      },
      {
        "name": "asset_description_html",
        "required": false,
        "description": "Provide a short description of the asset type in HTML format for styling.",
        "value_schema": {
          "val_type": "string",
          "inner_val_type": null,
          "enum": null,
          "properties": null,
          "inner_properties": null,
          "description": "Short description of the asset type in HTML format"
        },
        "inferrable": true,
        "http_endpoint_parameter_name": "description"
      },
      {
        "name": "asset_type_plain_text_description",
        "required": false,
        "description": "Short description of the asset type in plain text format without HTML tags.",
        "value_schema": {
          "val_type": "string",
          "inner_val_type": null,
          "enum": null,
          "properties": null,
          "inner_properties": null,
          "description": "Short description of the asset type in plain text format"
        },
        "inferrable": true,
        "http_endpoint_parameter_name": "description_text"
      },
      {
        "name": "parent_asset_type_identifier",
        "required": false,
        "description": "Unique identifier of the parent asset type. Use this to specify a hierarchy when creating a new asset type.",
        "value_schema": {
          "val_type": "integer",
          "inner_val_type": null,
          "enum": null,
          "properties": null,
          "inner_properties": null,
          "description": "Unique identifier of the parent asset type"
        },
        "inferrable": true,
        "http_endpoint_parameter_name": "parent_asset_type_id"
      }
    ]
  },
  "output": {
    "description": "Response from the API endpoint 'create-asset-type'.",
    "available_modes": [
      "value",
      "error",
      "null"
    ],
    "value_schema": {
      "val_type": "json",
      "inner_val_type": null,
      "enum": null,
      "properties": null,
      "inner_properties": null,
      "description": null
    }
  },
  "requirements": {
    "authorization": null,
    "secrets": [
      {
        "key": "FRESHSERVICE_SUBDOMAIN"
      },
      {
        "key": "FRESHSERVICE_API_KEY"
      }
    ],
    "metadata": null
  },
  "deprecation_message": null,
  "metadata": {
    "object_type": "api_wrapper_tool",
    "version": "1.1.0",
    "description": "Tools that enable LLMs to interact directly with the Freshservice API."
  },
  "http_endpoint": {
    "metadata": {
      "object_type": "http_endpoint",
      "version": "1.2.0",
      "description": ""
    },
    "url": "https://{freshservice_subdomain}.freshservice.com/api/v2/asset_types",
    "http_method": "POST",
    "headers": {},
    "parameters": [
      {
        "name": "id",
        "tool_parameter_name": "asset_type_id",
        "description": "Unique identifier of the asset type",
        "value_schema": {
          "val_type": "integer",
          "inner_val_type": null,
          "enum": null,
          "properties": null,
          "inner_properties": null,
          "description": "Unique identifier of the asset type"
        },
        "accepted_as": "body",
        "required": false,
        "deprecated": false,
        "default": null,
        "documentation_urls": []
      },
      {
        "name": "name",
        "tool_parameter_name": "asset_type_name",
        "description": "Name of the asset type",
        "value_schema": {
          "val_type": "string",
          "inner_val_type": null,
          "enum": null,
          "properties": null,
          "inner_properties": null,
          "description": "Name of the asset type"
        },
        "accepted_as": "body",
        "required": true,
        "deprecated": false,
        "default": null,
        "documentation_urls": []
      },
      {
        "name": "description",
        "tool_parameter_name": "asset_description_html",
        "description": "Short description of the asset type in HTML format",
        "value_schema": {
          "val_type": "string",
          "inner_val_type": null,
          "enum": null,
          "properties": null,
          "inner_properties": null,
          "description": "Short description of the asset type in HTML format"
        },
        "accepted_as": "body",
        "required": false,
        "deprecated": false,
        "default": null,
        "documentation_urls": []
      },
      {
        "name": "description_text",
        "tool_parameter_name": "asset_type_plain_text_description",
        "description": "Short description of the asset type in plain text format",
        "value_schema": {
          "val_type": "string",
          "inner_val_type": null,
          "enum": null,
          "properties": null,
          "inner_properties": null,
          "description": "Short description of the asset type in plain text format"
        },
        "accepted_as": "body",
        "required": false,
        "deprecated": false,
        "default": null,
        "documentation_urls": []
      },
      {
        "name": "parent_asset_type_id",
        "tool_parameter_name": "parent_asset_type_identifier",
        "description": "Unique identifier of the parent asset type",
        "value_schema": {
          "val_type": "integer",
          "inner_val_type": null,
          "enum": null,
          "properties": null,
          "inner_properties": null,
          "description": "Unique identifier of the parent asset type"
        },
        "accepted_as": "body",
        "required": false,
        "deprecated": false,
        "default": null,
        "documentation_urls": []
      }
    ],
    "documentation_urls": [],
    "secrets": [
      {
        "arcade_key": "FRESHSERVICE_SUBDOMAIN",
        "parameter_name": "freshservice_subdomain",
        "accepted_as": "path",
        "formatted_value": null,
        "description": "",
        "is_auth_token": false
      },
      {
        "arcade_key": "FRESHSERVICE_API_KEY",
        "parameter_name": "username",
        "accepted_as": "basic_auth_username",
        "formatted_value": null,
        "description": "",
        "is_auth_token": false
      }
    ],
    "request_body_spec": "{\n  \"content\": {\n    \"application/json\": {\n      \"schema\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"id\": {\n            \"type\": \"integer\",\n            \"description\": \"Unique identifier of the asset type\",\n            \"format\": \"int64\",\n            \"readOnly\": true,\n            \"example\": 14000234324\n          },\n          \"name\": {\n            \"type\": \"string\",\n            \"description\": \"Name of the asset type\",\n            \"example\": \"Hardware\"\n          },\n          \"description\": {\n            \"type\": \"string\",\n            \"description\": \"Short description of the asset type in HTML format\",\n            \"example\": \"Computer or Laptop Hardware\"\n          },\n          \"description_text\": {\n            \"type\": \"string\",\n            \"description\": \"Short description of the asset type in plain text format\",\n            \"readOnly\": true,\n            \"example\": \"Computer or Laptop Hardware\"\n          },\n          \"parent_asset_type_id\": {\n            \"type\": \"integer\",\n            \"description\": \"Unique identifier of the parent asset type\",\n            \"format\": \"int64\",\n            \"example\": 14000234324\n          }\n        }\n      }\n    }\n  },\n  \"required\": true\n}",
    "use_request_body_schema_mode": false,
    "validate_request_body_schema": false
  }
}
