pull_artifact
Fetch an artifact's editable fields, such as a Service Portal widget's template, CSS, or script, for local editing. Returns content inline or writes one file per field 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.
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": {
"table": "<table>",
"sys_id": "<sys_id>"
},
"name": "pull_artifact"
}
}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) |