@servicenow/sdk - v4.7.0
    Preparing search index...
    ScriptToolDetails: BaseToolDetails & {
        inputs?: ScriptToolInputType;
        script: ((inputs: any, ...dependencies: any[]) => any) | string;
        type: "script";
    }

    Script tool - uses custom script logic

    Type Declaration

    • Optionalinputs?: ScriptToolInputType

      Input parameters for the script - can be a simple array of fields or a full ToolInputType for CRUD operations

    • script: ((inputs: any, ...dependencies: any[]) => any) | string

      Script code for the tool

    • type: "script"