add_file_to_changeset
Adds a specified file with its content to a ServiceNow changeset, enabling efficient updates using the changeset ID, file path, and file content.
Instructions
Add a file to a changeset in ServiceNow
Input Schema
Name | Required | Description | Default |
---|---|---|---|
changeset_id | Yes | Changeset ID or sys_id | |
file_content | Yes | Content of the file | |
file_path | Yes | Path of the file to add |
Input Schema (JSON Schema)
{
"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"
}