<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to configure Web Search Tol in custom skill ? in Now Assist for Creator forum</title>
    <link>https://www.servicenow.com/community/now-assist-for-creator-forum/how-to-configure-web-search-tol-in-custom-skill/m-p/3252515#M495</link>
    <description>&lt;H3&gt;Step-by-Step Approach to Resolve Web Search Tool Issues in Custom Skills:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Check Tool Configuration:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Go to &lt;STRONG&gt;Conversational Interfaces &amp;gt; Tools&lt;/STRONG&gt; in the Application Navigator.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Open the &lt;STRONG&gt;Web Search&lt;/STRONG&gt; tool and ensure:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;It’s &lt;STRONG&gt;Active&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;The &lt;STRONG&gt;Script&lt;/STRONG&gt; is correct and doesn’t throw exceptions.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Input and output variables are properly defined.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Validate Tool Permissions:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Make sure the tool script is not trying to access data or APIs that are restricted due to &lt;STRONG&gt;ACLs&lt;/STRONG&gt; or &lt;STRONG&gt;cross-scope access&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;If needed, add a &lt;STRONG&gt;cross-scope privilege&lt;/STRONG&gt; from your custom application to the tool’s application scope.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Check Integration or API Key (if applicable):&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;If your Web Search tool is calling an &lt;STRONG&gt;external API&lt;/STRONG&gt; (like Bing, Google, or a custom REST API), verify:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;The API key is valid and stored securely (e.g., in a system property or credential store).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;The MID Server (if used) has access.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;The URL being called is allowed in the &lt;STRONG&gt;Outbound HTTP&lt;/STRONG&gt; ACL list.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Test the Tool in Isolation:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Use &lt;STRONG&gt;Virtual Agent Designer &amp;gt; Test Skill&lt;/STRONG&gt; to invoke the tool by itself (outside of full skill logic).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Check if it's returning a result or throwing a script error.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Review Logs:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Navigate to &lt;STRONG&gt;System Logs &amp;gt; All&lt;/STRONG&gt; or use &lt;STRONG&gt;"Debug Virtual Agent"&lt;/STRONG&gt; from the VA Test Console.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Look for error messages tied to tool execution (e.g., Tool failed to execute, ReferenceError, etc.).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Use Glide logging:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Add gs.info() statements to the tool’s script to trace where it may be failing.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Uday Rathore&lt;BR /&gt;ServiceNow Developer&lt;BR /&gt;LinkedIn: &lt;A href="https://www.linkedin.com/in/uday-rathore049/" target="_blank" rel="noopener"&gt;https://www.linkedin.com/in/uday-rathore049/&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Thu, 01 May 2025 19:50:57 GMT</pubDate>
    <dc:creator>Udayrathore049</dc:creator>
    <dc:date>2025-05-01T19:50:57Z</dc:date>
    <item>
      <title>How to configure Web Search Tol in custom skill ?</title>
      <link>https://www.servicenow.com/community/now-assist-for-creator-forum/how-to-configure-web-search-tol-in-custom-skill/m-p/3252362#M494</link>
      <description>&lt;P&gt;Hello Everyone,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I was facing an issue in using Tools in custom skill, when I use web searchl, I was getting an error message everytime.&lt;BR /&gt;Can someone help me, how to solve this with any step-by-step approach?&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-05-01 at 9.24.13 PM.png" style="width: 999px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/439157i1E90564B46BEA8F3/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-05-01 at 9.24.13 PM.png" alt="Screenshot 2025-05-01 at 9.24.13 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2025 15:58:46 GMT</pubDate>
      <guid>https://www.servicenow.com/community/now-assist-for-creator-forum/how-to-configure-web-search-tol-in-custom-skill/m-p/3252362#M494</guid>
      <dc:creator>Thulasidharan</dc:creator>
      <dc:date>2025-05-01T15:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Web Search Tol in custom skill ?</title>
      <link>https://www.servicenow.com/community/now-assist-for-creator-forum/how-to-configure-web-search-tol-in-custom-skill/m-p/3252515#M495</link>
      <description>&lt;H3&gt;Step-by-Step Approach to Resolve Web Search Tool Issues in Custom Skills:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Check Tool Configuration:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Go to &lt;STRONG&gt;Conversational Interfaces &amp;gt; Tools&lt;/STRONG&gt; in the Application Navigator.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Open the &lt;STRONG&gt;Web Search&lt;/STRONG&gt; tool and ensure:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;It’s &lt;STRONG&gt;Active&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;The &lt;STRONG&gt;Script&lt;/STRONG&gt; is correct and doesn’t throw exceptions.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Input and output variables are properly defined.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Validate Tool Permissions:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Make sure the tool script is not trying to access data or APIs that are restricted due to &lt;STRONG&gt;ACLs&lt;/STRONG&gt; or &lt;STRONG&gt;cross-scope access&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;If needed, add a &lt;STRONG&gt;cross-scope privilege&lt;/STRONG&gt; from your custom application to the tool’s application scope.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Check Integration or API Key (if applicable):&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;If your Web Search tool is calling an &lt;STRONG&gt;external API&lt;/STRONG&gt; (like Bing, Google, or a custom REST API), verify:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;The API key is valid and stored securely (e.g., in a system property or credential store).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;The MID Server (if used) has access.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;The URL being called is allowed in the &lt;STRONG&gt;Outbound HTTP&lt;/STRONG&gt; ACL list.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Test the Tool in Isolation:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Use &lt;STRONG&gt;Virtual Agent Designer &amp;gt; Test Skill&lt;/STRONG&gt; to invoke the tool by itself (outside of full skill logic).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Check if it's returning a result or throwing a script error.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Review Logs:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Navigate to &lt;STRONG&gt;System Logs &amp;gt; All&lt;/STRONG&gt; or use &lt;STRONG&gt;"Debug Virtual Agent"&lt;/STRONG&gt; from the VA Test Console.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Look for error messages tied to tool execution (e.g., Tool failed to execute, ReferenceError, etc.).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Use Glide logging:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Add gs.info() statements to the tool’s script to trace where it may be failing.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Uday Rathore&lt;BR /&gt;ServiceNow Developer&lt;BR /&gt;LinkedIn: &lt;A href="https://www.linkedin.com/in/uday-rathore049/" target="_blank" rel="noopener"&gt;https://www.linkedin.com/in/uday-rathore049/&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 01 May 2025 19:50:57 GMT</pubDate>
      <guid>https://www.servicenow.com/community/now-assist-for-creator-forum/how-to-configure-web-search-tol-in-custom-skill/m-p/3252515#M495</guid>
      <dc:creator>Udayrathore049</dc:creator>
      <dc:date>2025-05-01T19:50:57Z</dc:date>
    </item>
  </channel>
</rss>

