pull_artifact
Fetch an artifact's editable fields (e.g., Service Portal widget template, CSS, script) for local editing. Returns content inline or writes files per field when sync directory is set.
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) |