@servicenow/sdk - v4.7.0
    Preparing search index...
    ScriptToolOutput: WithID<{ name?: string; type?: string }>

    Output definition for a Script tool. Script tools have a single standard output (name='output', type='string').

    Optional — if omitted, the output is auto-generated with a derived $id

    // Minimal — defaults: name='output', type='string'
    output: { $id: Now.ID['my_script_tool_output'] }