export_record_xml
Export ServiceNow records from the live server into deploy-ready XML files, the only legal source. Specify table and sys_ids to build an update-set-compatible export.
Instructions
Build deploy XML from the LIVE server — the only legal source. Issues an origin cert. Read saved_path.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_record_xml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | No | Advanced: raw <table>_<sys_id> names, for a cross-table file. | |
| table | No | ||
| sys_ids | No | sys_ids to export. Combined with table into update names. | |
| output_dir | No | Save dir (auto filename). Default: ./temp/<instance>/xml/ | |
| output_path | No | Exact .xml file to write. Overrides output_dir. |