add_file_to_changeset
Add a file to a ServiceNow changeset by specifying the changeset ID, file path, and content. Facilitates updates to changeset configurations efficiently.
Instructions
Add a file to a changeset in ServiceNow
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"AddFileToChangesetParams": {
"description": "Parameters for adding a file to a changeset.",
"properties": {
"changeset_id": {
"description": "Changeset ID or sys_id",
"title": "Changeset Id",
"type": "string"
},
"file_content": {
"description": "Content of the file",
"title": "File Content",
"type": "string"
},
"file_path": {
"description": "Path of the file to add",
"title": "File Path",
"type": "string"
}
},
"required": [
"changeset_id",
"file_path",
"file_content"
],
"title": "AddFileToChangesetParams",
"type": "object"
}
},
"properties": {
"params": {
"$ref": "#/$defs/AddFileToChangesetParams"
}
},
"required": [
"params"
],
"title": "add_file_to_changesetArguments",
"type": "object"
}