@servicenow/sdk - v4.7.0
    Preparing search index...
    GenericToolDetails: BaseToolDetails & {
        script?: ((inputs: any, ...dependencies: any[]) => any) | string;
        type?: Exclude<
            AiAgentToolType,
            | "crud"
            | "script"
            | "capability"
            | "subflow"
            | "action"
            | "catalog"
            | "topic"
            | "topic_block"
            | "web_automation"
            | "knowledge_graph"
            | "file_upload"
            | "rag"
            | "search_retrieval",
        >;
    }

    Generic tool types without specific ID requirements

    Type Declaration

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

      Script code for the tool (optional for generic types)

    • Optionaltype?: Exclude<
          AiAgentToolType,
          | "crud"
          | "script"
          | "capability"
          | "subflow"
          | "action"
          | "catalog"
          | "topic"
          | "topic_block"
          | "web_automation"
          | "knowledge_graph"
          | "file_upload"
          | "rag"
          | "search_retrieval",
      >