Send eligible pending files from the VS Code workspace queue. Inspect getsyncstatus first and use this only when all eligible files belong to the authorized task: it does not filter by instance or file. The standalone host does not provide this queue; use the typed record-write commands there.
Update a single field on an existing record. Fire-and-forget (the extension sends the update through the helper tab; success is reported back asynchronously).
Update multiple fields on the same record in one round-trip. Preferred for multi-file artifacts (widgets, UI pages) where you'd otherwise send many updaterecord calls.
Pull every scriptable artifact of one application scope into canonical local workspace files ( / / / . . , or / / . for folder-record tables) with map.json registration, so an agent can work from local files instead of fetching artifacts one by one. This is the Agent API counterpart of the VS Code Load Scope button.
Build, pack and install a ServiceNow SDK (NOW SDK / Fluent) app with the user's browser session, with no separate now-sdk auth login. It runs the project's own now-sdk build and now-sdk pack, then the SN Utils helper tab asks the user to confirm in a modal, installs the package and activates the app's flows. The call…
Pull changes made on the instance into a ServiceNow SDK (NOW SDK / Fluent) project, with the user's browser session and the project's own now-sdk (no separate now-sdk auth login). SN Utils downloads the app package, the SDK converts it into Fluent in a temporary copy of the project, and the differing files are copied…
Read-only. Samples existing artifacts of one type on the instance and compares them into a type profile: what records make up one artifact of this type, how often each appears, what the platform creates for you, what the creation path changes, and what the scan could and could not see. Use it before building a…
Insert up to 200 records on one table in one call. Use it instead of looping createrecord, and instead of restrequest batch calls or a GlideRecord loop in runbackgroundscript: those reach the instance as one opaque write, while this one gets one review for the whole batch, one write-history entry per record, and an…
Collect the outcome of a createrecords / updaterecords batch by its batchId: after the call returned ETIMEOUT, after a review was approved, or after the connection dropped. Call it before retrying any row.
Update up to 200 existing records on one table in one call. Each row is { "sysid": "...", ...fields }. Same contract as createrecords: one review for the batch, one write-history entry per record, an outcome per row, and no rollback of rows that succeeded. Use updaterecordbatch instead for several fields on one record.
Delete one attachment through the Attachment API, which removes the sysattachment row and its stored content. Prefer it over deleterecord on sysattachment.
Download one attachment (sysattachment sysid) to a file in the workspace. The result carries the file path, size, content type and sha256, never the bytes, so a binary file never lands in your context. Process the file locally (resize, convert, inspect) and send it back with uploadattachment using relativePath or…
★not rated 56 9d agoA0 tokens
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: