How to Build AI Agent for Incident Description Summary

HarikaNakhate
Tera Contributor

Hi everyone,

I’m trying to build an AI Agent that generates a summary using the Short Description and Description fields from the Incident table. I attempted to add a Script Tool to an existing AI Agent and provided tool instructions, but I’m not sure what logic should actually go inside the script.

Could someone guide me on how to properly structure the Script Tool, what functions I should use, or share an example of how to fetch and return the Incident description fields for summarization?

Any help or best practices would be greatly appreciated!

Thank you!

1 ACCEPTED SOLUTION

GlideFather
Tera Patron

Hi @HarikaNakhate,

 

why don't you use the OOTB AI skill "Incident summarisation" for that?

Screenshot 2026-03-12 at 11.58.15.png

 

There are more fields taken as input for summarisation but if you want just short description and description, you can duplicate that skill and adjust accordingly, but I want to inform you that in SD and Description there's not so many details to make summarisation... that's why the OOTB solution have more fields than these two only.

 

Let me know what do you think aboitu it

_____
100 % GlideFather experience and 0 % generative AI

View solution in original post

2 REPLIES 2

GlideFather
Tera Patron

Hi @HarikaNakhate,

 

why don't you use the OOTB AI skill "Incident summarisation" for that?

Screenshot 2026-03-12 at 11.58.15.png

 

There are more fields taken as input for summarisation but if you want just short description and description, you can duplicate that skill and adjust accordingly, but I want to inform you that in SD and Description there's not so many details to make summarisation... that's why the OOTB solution have more fields than these two only.

 

Let me know what do you think aboitu it

_____
100 % GlideFather experience and 0 % generative AI

Aditya_hublikar
Mega Sage

Hello @HarikaNakhate ,

 

In servicenow , it is ootb present in Servicenow now assist skills(Incident summarization skill)

 Based on following fields it sumamarize incident 

Aditya_hublikar_0-1773319090988.png

 

 

 

You can refer this thread for more details :

https://www.servicenow.com/community/itsm-articles/install-and-configure-incident-summarization-for-...

 

 

If this helps you then mark it as helpful and accept as solution.

Regards,

Aditya,

Technical Consultant