pull_artifact
Fetch an artifact's editable fields (template, CSS, script) from ServiceNow for local editing, returning content inline and optionally writing per-field files when a sync directory is configured.
Instructions
Local sync: fetch an artifact's editable fields (e.g. a Service Portal widget's template/css/script) for local editing. Returns the content inline; when NOWAIKIT_SYNC_DIR is set it also writes one file per field and returns the paths. This is config/pro-code editing of a single artifact, not an update-set export.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Artifact table, e.g. "sp_widget", "sys_script_include" | |
| sys_id | Yes | sys_id OR name of the record (a name is resolved to its sys_id) |