AI Agent tools – Getting the most out of your agentic workflow
New article articles in ServiceNow Community
·
Apr 03, 2025
·
article
Updated as of Yokohama Patch 1
AI Agent tools are essential to bringing your AI Agents from intelligence to action. See below for tips on how to optimize the usage of AI Agent tools. You can familiarize yourself with the tools available here: [https://www.servicenow.com/docs/bundle/yokohama-intelligent-experiences/page/administer/now-assist-a...](https://www.servicenow.com/docs/bundle/yokohama-intelligent-experiences/page/administer/now-assist-ai-agents/task/configure-next-best-action-agent.html.)
#### **General tool settings**
* **Name** and **Description**: The AI Agent orchestrator will take these fields into account when determining whether and how to use the tool.
* **Input:** some tools such as Script or Record operation allow you to create an input variable, provide a description, and use it as a reference for your action.
* **Supervised/Autonomous:** You can determine whether to ask the user for permission to run the action.
* **Display Output:** This displays the output of the action to the end-user.
* **Output transformation strategy:** This determines the verbosity of the output. Some tools generate content, such as web search. An output strategy of “None” has no processing and output the raw output which may be JSON or technical jargon. This is preferable if outputting specific records or IDs. On the other end of the spectrum, an output strategy of “Verbose” will generate a longer, more eloquent answer.
#### **Catalog Item**
Add a catalog item to your AI agent. Only conversational catalog items are available. See here for more information on conversational catalog items. For example, a holiday booking agent can ask if a user needs a travel visa, for which you may have a catalog item and can present to the end-user. This is what it looks like in AI Agents.
#### **Conversational topic**
Add a Virtual Agent topic to your agent. Only LLM-based Virtual Agent topics (or topic blocks) that are active and published are available to use. Setup topics are not available. Select the topic from the tool drop-down to use.
#### **Sub-flow/Flow Action**
Add a Sub-flow or Flow action from Workflow Studio to your AI Agent. The tool’s description should note what inputs and outputs the flow should expect. Note that the flow must have inputs and outputs as **String**, or else the AI Agent orchestrator (LLM) will not be able to process it.
Integration Hub spokes are now also AI Agents, see: [https://www.servicenow.com/docs/bundle/yokohama-integrate-applications/page/administer/integrationhu...](https://www.servicenow.com/docs/bundle/yokohama-integrate-applications/page/administer/integrationhub/reference/available-spk-ai-agents.html). The tools within the spoke AI Agents have been optimized for AI Agent processing. See below for an example of a _Microsoft Entra ID group manager spoke_ AI Agent and its Flow Action tools.
#### **Now Assist skill**
Use an out-of-box or custom Now Assist skill created and published in Skill Kit to use with your AI Agent. The tool’s description should note what inputs and outputs the Skill should expect.
#### **Record operation**
Use this tool if you want to create, look up, update, or delete records. To look up records, you need to select the table and the condition to display records. The condition builder is similar to Workflow Studio. Select the “Verbose” output strategy for a better formatted list. See below for an example of looking up a list of purchase orders where the business owner is the end-user.
To update records, you have to select the table and condition of which record(s) to update. Then select the field and value(s) to update. You can use **Inputs** to have the AI Agent ask the end-user which records to update and how. You can then use those inputs in the condition or field values via {{...}}. See the below example, which is an AI Agent updating the quantity of a purchase order line based on a user input of a purchase order line number.
#### **Script**
AI Agents can run scripts, and it can include inputs provided by the end-user or the AI Agent itself. See the below example, which outputs to System Logs a text string plus an Incident number from a previous step from the AI Agent. The input is called using **_inputs.inc\_number._**
Result:
#### **Search Retrieval**
This uses AI Search/RAG to search for content such as knowledge articles. Select a Search profile, search sources, and fields (such as a KB Short description and Article body) to pass to the AI Agent. For search criteria, it is recommended you use “Hybrid”, which combines semantic and keyword search methods. Semantic indexed fields are based on the fields in your search source’s Indexed sources. If you run into issues, be sure that Now Assist in Search store app has been updated, AI Search is properly configured, search sources are indexed, and that the search profile has been published. Below is an example of search retrieval based on a KB article with citations.
#### **Web Search**
There are two ways to perform a Web Search - “Search and scrape” or “AI Answers”. By using search and scrape, you are calling the search engine to return a list of related web links and a web scraping service to scrape those websites. The two options are Bing search or Google search. Then, it passes the scraped data to Now LLM to generate a response. By using AI answers, you are calling an LLM to generate an answer. The two options are Gemini or Perplexity. See this article for step-by-step instructions on how to set up Web Search: [https://www.servicenow.com/community/now-assist-articles/how-to-set-up-the-web-search-ai-agent-tool-...](https://www.servicenow.com/community/now-assist-articles/how-to-set-up-the-web-search-ai-agent-tool-using-google-gemini/ta-p/3227494). Remember to use the Output strategy to determine search result quality and length. Below is an example of a web search result (Output strategy set to "Verbose") with citations.
https://www.servicenow.com/community/now-assist-articles/ai-agent-tools-getting-the-most-out-of-your-agentic-workflow/ta-p/3227648
Victor Chen