@servicenow/sdk - v4.7.0
    Preparing search index...

    Input for Skill tool - definitionAttributeId and value (type is always 'string')

    interface SkillToolInput {
        definitionAttributeId:
            | string
            | Record<"sys_one_extend_definition_attribute">;
        value: ToolInputValue;
    }
    Index

    Properties

    definitionAttributeId: string | Record<"sys_one_extend_definition_attribute">

    sys_id of the target skill's input definition attribute (sys_one_extend_definition_attribute). Accepts a raw sys_id string or a DbRecord reference.

    // Using raw sys_id
    definitionAttributeId: 'abc123def456...'

    // Using DbRecord reference
    definitionAttributeId: Now.Record('sys_one_extend_definition_attribute', 'abc123...')

    Input value - can be static string, template string ({{...}}), or tool output reference