jsn / ServiceNow, simplified.
AustraliaREFERENCE GUIDE

Add a tool

On this page

Add a tool

Add and manage tools visually in the Tools editor, including decision branching, to execute different tools for your skill. Adding decision branches between tools enables you to define the conditions that must be met for a tool to run. If no conditions are met, the default branch’s step is executed.

Before you begin

Role required: sn_skill_builder.admin

About this task

A tool is a utility that is configured to convert skill inputs into skill outputs. The tool outputs can be referenced in a prompt template to introduce context to a prompt. The input for a tool can be a skill input or the output of another tool.

You can use the Tool editor to configure tools and link them to each other.

Decision nodes enable you to execute different tools, based on the logic of the branch. A decision node can contain multiple branches but needs one default branch.

Procedure

  1. Navigate to All > AI Skill Kit > Home.

  2. Select the skill you want to add a tool to.

  3. Select the Tool editor tab.

  4. Select the (+) icon to add a node.

  5. Select the type of node that you want to add.

<table id=“table_ibf_j2z_12c”><thead><tr><th>

Node type

</th><th>

Steps

</th></tr></thead><tbody><tr><td>

Tool node

Types of tools:

  • Script

  • SubFlow

  • Flow Action

  • Retriever

  • Skill

  • Web search

Note: If you select Google as your web search tool provider, the web search tool uses Grounding with Google Search, offered under a Global Standard deployment. Because grounding is not data resident, Google’s global infrastructure routes traffic to a global data center for each web search request. This processing location may be different from the data processing location that you chose for your ServiceNow instance. Consider your organization’s data policies before enabling skills that have Google web search tools.

  • Predictive Intelligence

</td><td>

  1. Select a tool type.

  2. Name the tool.

  3. Select a condition.

</td></tr><tr><td>

Decision node

</td><td>

  1. Name the node.

  2. Select Add branch

    1. Name the branch.

    2. Select a Destination node.

    3. Set the conditions.

  3. Select a Destination node.

</td></tr></tbody> </table> [Omitted image “nask-tool-editor.png”] Alt text: Tool editor tab in AI Skill Kit

  1. Select Add.

  2. Select Run tools to test the tools.

  3. Add a retriever
    Add a retriever to your skill to augment your prompts with relevant context from AI Search results.

  4. Add a web search
    Add a web search as a tool in AI Skill Kit to include web search results in your skill prompts.

  5. Add Predictive Intelligence
    Add Predictive Intelligence as a tool in AI Skill Kit. Predictive Intelligence models predict values, estimate outcomes, and identify patterns that you can use to route work, populate forms, and estimate wait times.

  6. Add Document Intelligence
    Add Document Intelligence as a tool in AI Skill Kit to extract structured data from documents as part of your skill’s execution flow.

Parent Topic:Create a prompt

Keep exploring.

Find another answer, or bring this documentation into your own tools.