warren_chan
ServiceNow Employee

Use the File Upload tool for a situation where you want to feed additional documents, information, or context to your AI agent. The AI agent will leverage the uploaded file during runtime to help complete its assigned task or objective.

 

It's important to note that this tool is configured by the AI Agent Admin [sn_aia.admin] role, thus the file will be pre-uploaded for processing. This is not designed to be a tool that ingests a file from the client (like in the case of asking a client to add an attachment). 

 

Agent Configuration

 

To get started, set up your AI agent. Make sure to mention in the instructions how you want your AI agent to use the data you intend to add in your File upload.

 

Screenshot 2026-04-16 at 11.33.28 AM.png

Screenshot 2026-04-16 at 11.33.44 AM.png

 

Under Add tools and information, select Add tool > File upload. Enter the Tool Name and Tool Description, then select a file to upload. Note the limitations for the file size at 5 MB, and the acceptable formats of DOCX, PDF, or TXT.

 

Screenshot 2026-04-16 at 11.35.36 AM.png

Screenshot 2026-04-16 at 11.35.46 AM.png

Under Define security controls, enter the roles that you want to have access to the AI agent, and the roles that can the AI agent can use for data access. By default, File upload data is stored on a table that requires sn_aia.admin or sn_aia.viewer roles.

 

Screenshot 2026-04-16 at 11.38.46 AM.png

After saving, you should see the Tool get added, and content extraction begin. This could take up to a few minutes depending on the content type and size of your file. Eventually, the Status should show as Extracted:

 

Screenshot 2026-04-16 at 11.47.31 AM.png

 

Testing

 

Click through the rest of the AI agent configuration, and then test the File upload tool in a manual test:

 

Screenshot 2026-04-16 at 1.05.28 PM.png

Screenshot 2026-04-16 at 1.06.21 PM.png

Screenshot 2026-04-16 at 1.06.12 PM.png

 

File Upload Architecture

 

Behind the scenes, File upload will store your file in the AI Agent Tool Document [sn_aia_agent_tool_document] table:

 

Screenshot 2026-04-16 at 12.57.24 PM.png

 

The extracted data will live in the Content [data] field. Be aware of the existing ACLs on this table, which you should consider for your AI agent role access:

 

Screenshot 2026-04-16 at 1.16.01 PM.png

During runtime, the uploaded file's extracted content will then be parsed using AI Search. There's no default AI Search Search Application associated to File upload, but you can view the AI Agent Document Search Profile, which is associated to the AI Agent Document Tool Source Search Source:

 

Screenshot 2026-04-16 at 1.17.09 PM.png

Full documentation here (Zurich).

Version history
Last update:
2 hours ago
Updated by: