update_script_include
Modify script includes in ServiceNow by updating access levels, active status, API names, client callability, descriptions, or script content using script include ID or name.
Instructions
Update an existing script include in ServiceNow
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"UpdateScriptIncludeParams": {
"description": "Parameters for updating a script include.",
"properties": {
"access": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Access level of the script include",
"title": "Access"
},
"active": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Whether the script include is active",
"title": "Active"
},
"api_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "API name of the script include",
"title": "Api Name"
},
"client_callable": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Whether the script include is client callable",
"title": "Client Callable"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Description of the script include",
"title": "Description"
},
"script": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Script content",
"title": "Script"
},
"script_include_id": {
"description": "Script include ID or name",
"title": "Script Include Id",
"type": "string"
}
},
"required": [
"script_include_id"
],
"title": "UpdateScriptIncludeParams",
"type": "object"
}
},
"properties": {
"params": {
"$ref": "#/$defs/UpdateScriptIncludeParams"
}
},
"required": [
"params"
],
"title": "update_script_includeArguments",
"type": "object"
}