build_artifacts
Build all ServiceNow migration artifacts—staging table, transform map, field maps, transform scripts, data source, and REST message—once schema and mappings are approved.
Instructions
Phase 4: Create all migration artifacts in ServiceNow: staging table + columns, transform map, field maps, transform scripts, data source, REST message. Only call this after Checkpoint 1 (schema) AND Checkpoint 2 (mappings) are both approved by the user. After this completes, show the artifact summary and ask the user to verify in ServiceNow (Checkpoint 3).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"platform": "<platform>",
"object_name": "<object_name>",
"sn_table": "<sn_table>",
"mappings": "<mappings>"
},
"name": "build_artifacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | Source platform (salesforce, jira, or any registered connector) | |
| object_name | Yes | ||
| sn_table | Yes | ||
| mappings | Yes | Approved field mappings — either from discover_schema or user-modified |