Tools¶
Tools let agents retrieve enterprise information, perform operations, navigate to application pages, and connect to external services. Assign tools to agents when the agent should choose when to use them. Use dedicated workflow nodes when the operation belongs at a defined point in the process.
Create and select tools¶
Open AI Agent Studio > Resources > Tools > Add. Select the tool type, enter its name and description, and choose the family and product. The code is populated from the name where supported. Complete the type-specific configuration and create the tool.
Describe both what a tool does and when the agent should call it. Provide meaningful parameter descriptions and sample queries where available. Add saved tools through an agent's Available Tools panel, or select them in a compatible workflow node.
| Need | Tool or node |
|---|---|
| Read or update Fusion records | Business Object tool or Business Object Function node |
| Use an existing data-source integration | Connector tool |
| Navigate to an application task | Deep Link tool |
| Search reusable uploaded knowledge | Document tool / RAG Document Tool |
| Send a notification | Email tool or Send Email node |
| Invoke a service endpoint | External REST tool |
| Use an external MCP server | MCP tool |
| Read signed-in-user context | User Session in a Tool node |
| Read files uploaded during chat | Chat Attachments Reader in a Tool node |
| Extract fields from business attachments | Document Processor with a published document schema |
| Reset/segment chat history when user intent changes in a chat conversation | Intent Change Indicator in a Tool node |
The following are common properties shared by all tool types
| Property | Description |
|---|---|
| Tool Type | Select tool type |
| Tool Name | Human-readable tool name |
| Tool Code | Code derived from the tool name. Tools associated with Agents can be referred in the agent prompts using their code |
| Family | The product family associated with the tool used for filtering |
| Product | The product associated with the tool used for filtering |
| Require Human Approval | Enable this if a person should review the tool call before it runs |
| Description | Explain what the tool does, when an agent should use it, and any important constraints |
Business Object tool¶
Business Object tools expose selected Fusion business objects and functions to agents. Depending on the configured function, the agent can retrieve, create, update, or delete records. Select the objects and fields the agent needs and exclude unrelated data.
Access follows Fusion Applications' native security and role controls. An agent's prompt does not grant access to data that the signed-in user cannot access.
In a workflow, use Business Object Function for an explicit operation. Verify the object, function, required parameters, filters, and output structure. For a write, inspect the target record and payload before continuing a debug run.
Define the business object before its tool¶
Open Resources and select the Business Objects tab. Create a Business Object resource and define the functions the agent will need. See function setup examples for OpenAPI, cURL, and Postman. In the Business Object tool, select the functions the agent can call. For a direct workflow call, select the function in a Business Object Function node.
Define fixed versus dynamic parameters, requiredness, formats, allowed values, constraints, and defaults. See writing function and parameter descriptions for examples that help the agent select a function and supply its inputs. Enforce critical rules through validation as well. Select only needed response fields. Page-level field hiding is not equivalent to API field authorization, so exclude fields that must not be returned.
Connector tool¶
Connector tools connect agents to configured sources such as SharePoint, web pages, and custom content. Create the connector through Connectors and make the relevant connector tool available to the agent.
In a workflow, add a Tool node, select Connector as Type, then choose Tool and Function. Inspect the returned content and confirm that downstream processing uses the expected fields.
See Connectors and Content Retrieval for connection/tool/node responsibilities, indexed Content Intelligence, and live SharePoint search. File metadata supports discovery; answering from document contents requires readable content.
Deep Link tool¶
A Deep Link tool generates a URL for a specific business function or transaction in Fusion Applications. It can guide a user to the page where an action belongs, such as updating personal information.
To reuse one in a workflow, add a Tool node and select Deep Link. Choose family, product, and the existing tool. Use Recommend, enter a query, and select Go to search for suitable tools.
The result is a navigation link. Confirm the link resolves to the correct application task and record context for the intended user.
Define and expose a deep link¶
Create the Deep Link resource with a unique name/code, family, product, relative target, parameters, description, and user-facing message. Bind it to a Deep Link tool, then assign the tool to an agent or select it in a Tool node. Include instructions describing when navigation is appropriate.
See Deep Links for resource setup, parameter mapping, and an invoice record example. Test the target with the intended user roles before exposing it in a response.
Document tool¶
Use a Document tool to make reference material such as policies, procedures, and FAQs searchable across conversations. Each tool can contain multiple documents, and each document groups one or more related files.
Add and publish documents¶
- Open Resources > Tools > Add and choose Document in Tool Type.
- Enter the tool name, description, family, and product.
- If a reviewer must approve tool calls, enable Require Human Approval and configure Actions and the reviewer Message.
- In Document, select Add Document, then enter a name and description for the document.
- Drag files onto the upload area or select Browse files.
- Set the document's Status to Ready to Publish and select Create. The Process Agent Documents scheduled process publishes the document and changes its status to Published when processing completes.
- Once the document is Published, select the Document tool in the agent's Available Tools.
Delete documents¶
Set the document's Status to Ready to Delete to start the Process Agent Documents scheduled process. When processing completes, the status changes to Deleted.
Supported file formats¶
The Document tool accepts text files such as .txt, .md, .json, and .xml, PDF files (.pdf), and ZIP archives (.zip) containing text or PDF files.
Prepare content for retrieval¶
Use descriptive headings and give each topic its own section so the tool can retrieve focused passages. Prefer text-based PDFs. Remove unnecessary pages, duplicate content, and oversized images.
Keep each file within the 25 MB limit. Aim for no more than 20 attachments per document. For larger collections, group related files into separate documents in the same tool.
For image-heavy or scanned content, aim for no more than five images or scanned pages per document to reduce the extraction load. If a file represents visible text as outlines or graphic masks, re-export it as a text-based PDF or a legible scan.
Choose the right file-processing path¶
| Path | Intended use | Limits and model selection |
|---|---|---|
| Chat upload | A one-time task during a conversation | Up to five files per conversation and 50 MB combined. Each multimedia file can be up to 25 MB. Uses default processing models. |
| Document tool | Searchable knowledge reused by agents | 25 MB per file. Uses default processing models. |
| Document Processor | Background processing of business object attachments | 25 MB per file. Model selection is available when LLM extraction with a Document Schema is enabled. |
| Document Processor with schema | Extract specified fields into a defined structure | Requires a published Document Schema and supports selection of the extraction LLM. |
Supported formats vary by processing path. Across these paths, supported formats include PDF, DOCX, PPTX, TXT, HTML, Markdown, JSON, XML, XLSX, CSV, JPG, and PNG. See Supported file formats for the Document tool's upload options.
Extracted text, OCR output, tables, and embedded images can exceed processing limits or the model's context window even when the file meets the size limit. Split dense files, simplify spreadsheets and structured data, and pass only the relevant content to language tasks.
Verify retrieval¶
Search uses only documents with a status of Published. If a search misses expected content, check the document's processing status and confirm that the tool is assigned to the agent before changing the prompt.
After updating a published collection, test questions the documents cover and questions they leave unanswered. Check whether answers are supported by the passages and references the tool returns.
Email tool¶
Use an Email tool for configured email delivery. For an explicit workflow notification, a Send Email node can set recipients, subject, body, and attachments directly.
To create the tool:
- In Resources > Tools > Add, select Email.
- Enter the name, description, family, and product.
- Optionally configure Require Human Approval, the reviewer message, and actions.
- In Email, select Add delivery option and choose Email Notification.
- Enter recipients and subject, then build the email template.
- Use Tokens and Insert Token to insert dynamic values into the template.
- Enable attachments if required and create the tool.
The Email tool can also use HCM Alerts for supported Areas of Responsibility, including Benefits, Human Resource, Payroll, and Union representatives. Templates can include Conversation Summary, Question, and User Name; Recipient Name applies to alert delivery. For Email Notification, To and Cc use comma-separated addresses and Subject supports up to 200 characters.
Use Require Human Approval when sending needs confirmation; configure the review message and action labels. Use Send Email for runtime recipient expressions and attachment JSON. Attachment support is release-dependent; the workflow node's current fields are described in the Send Email reference.
Inbound and approver accounts¶
Incoming-email triggers and email-based approval use accounts registered separately under Credentials > Email Accounts > Add Email Account. Select Microsoft or Google and designate the account as Inbound or Approver.
| Account purpose | Use |
|---|---|
| Inbound | Receives messages that start a workflow |
| Approver | Receives requests to approve or reject |
Set Email Folder and Polling Interval. Microsoft configuration requires Tenant ID, Client ID, and Client Secret; Google configuration requires Service Account Email and Private Key.
An account cannot serve both purposes. Each email-triggered workflow requires its own unique inbound account. See workflow triggers.
External REST tool¶
Use External REST to call internal or external SaaS services and public APIs. The tool supports HTTPS transactions. Configuration requires a role with Create and Edit Backends for Visual Builder Studio (ORA_FND_TRAP_PRIV).
- Open Resources > Tools > Add and choose External REST.
- Enter name, code, description, family, and product.
- Set Require Human Approval, its message, and actions if review is required.
- In External REST, enter the Instance URL, select an Authentication type, and describe when to use the tool.
- Select Add Endpoint and configure Name, Operation Type, Resource Path, and endpoint description.
- In Parameters, add the dynamic parameters, their types, and purposes.
- In Sample Queries, add example requests that should select the tool.
- In Headers, add required request metadata and authentication headers as applicable.
- Create the tool and select it in an agent or compatible workflow node.
Use a base domain without paths, query parameters, or a trailing slash for Instance URL. Use a relative path for Resource Path.
| Field | Example |
|---|---|
| Instance URL | https://api.weather.gov |
| Resource Path | /points/{latitude},{longitude} |
| Operation Type | GET |
| Parameters | latitude, longitude |
Validate the request and response contract, including authentication errors and empty results, before connecting downstream actions.
Function names use letters, numbers, underscores, and hyphens. Configure authentication once for the tool, then define each function's method, relative path, headers, and parameter locations. In the parameter-based POST configuration, add each body field as a Body parameter, with its type and requiredness; the tool assembles the payload. Keep this distinct from a Business Object function's payload template. Collect all required fields before submitting a transactional request.
Supported authentication types¶
| Authentication type | How it authenticates |
|---|---|
| Basic | Uses a fixed username and password. |
| OAuth 2.0 user assertion | Uses an OAuth token that represents the signed-in user and is issued for a custom scope. |
| OAuth 2.0 resource owner password credentials | Obtains an OAuth token using a fixed client ID, client secret, username, and password. |
| OAuth 2.0 client credentials | Obtains an OAuth token using a fixed client ID and client secret. |
| Oracle Cloud Infrastructure API signature 1.0 | Signs requests using an Oracle Cloud Infrastructure API key and private key. |
| None | No authentication. |
MCP tool¶
An MCP tool connects to an external Model Context Protocol server without a custom REST wrapper.
- Open Resources > Tools > Add and select MCP.
- Enter name, code, description, family, and product.
- Set Instance URL to the server's endpoint.
- Select Transport Type: Server Sent Events (SSE) or StreamableHTTP.
- Select the required Credential Type and complete the connection details.
- Create the tool and select it when configuring the agent, node, or workflow.
SSE supports server-to-client event streaming. StreamableHTTP uses HTTP POST and GET requests and supports independent client connections. Match the transport and authentication to the server's configuration.
| Credential Type | Purpose | Credential details |
|---|---|---|
| None | Connect to an intentionally unauthenticated endpoint. | No credential fields are required. |
| API Key | Supply the server's configured key. | API Key. Enter the API key as plain text without surrounding quotation marks. |
| JWT Authentication | Authenticate with signed tokens. | Token URL. Enter the token endpoint used to retrieve OAuth credentials for this server. For JWT Connection Configuration, enter a JSON string. |
| Client Credentials | Use OAuth machine-to-machine authentication. | Token URL. Enter the token endpoint used to retrieve OAuth credentials for this server. For Client Credentials Connection Configuration, enter a JSON string. |
Confirm network reachability and credentials, then preview the server's tools before assignment. Prefer Streamable HTTP for servers supporting it. MCP discovers server-advertised operations; External REST requires individual endpoint definitions. Discovery does not grant authorization to perform an operation.
JWT Connection Configuration¶
Use this JSON structure and fill in the values for your server.
{
"appSettings": {
"clientID": "",
"clientSecret": "",
"appAuth": {
"publicKeyID": "",
"privateKey": "",
"passphrase": ""
}
},
"claim": {},
"enterpriseID": ""
}
Client Credentials Connection Configuration¶
Set client_auth_method to client_secret_basic or client_secret_post, according to the token endpoint's configuration.
{
"grant_type": "client_credentials",
"client_id": "<<Client ID>>",
"client_secret": "<<Client Secret>>",
"audience": "<<Audience URL>>",
"scope": "<<Space separated list of scope>>",
"client_auth_method": "<<client_secret_basic|client_secret_post>>"
}
User Session tool¶
Use User Session when a workflow needs signed-in-user context. Add a Tool node and choose User Session as Type. The User Session Tool output contains logged-in person information as well logged-in user preferences
The content of the User Session tool can be accessed as $context.$nodes.<UserSessionToolNodeCode>.$output.items[0].<attribute>. The list of available attributes are listed below
Logged-in person related attributes¶
| Property | Purpose |
|---|---|
| PersonNumber | Person number for the HCM person record linked to the signed-in account. |
| FirstName | First name recorded for the person. |
| LastName | Last name recorded for the person. |
| MiddleNames | Middle name or names recorded for the person. |
| KnownAs | Name the person prefers to be known by. |
| NameType | GLOBAL for a global name record or a legislative territory code for a local name record. |
| Suffix | Text that follows the last name, such as Jr. or Sr. |
| Title | Salutation used with the person's name, such as Mr. or Ms. |
| Honors | Qualification shown after the person's name, such as PhD. |
| PreNameAdjunct | Prefix that appears before the person's last name. |
| EmailAddress | Work email address recorded for the person. |
| Username | Sign-in name for the user account. |
| UserDistinguishedName | LDAP distinguished name (DN) that identifies the user's directory entry. |
Logged-in user preference attributes¶
| Property | Purpose |
|---|---|
| AccessibilityMode | Accessibility setting for the session, such as default mode or screen reader mode. |
| ClientEncoding | Client character encoding for file uploads, downloads, exports, and attachments. |
| ColorContrast | Preferred interface contrast, such as standard or high contrast. |
| Currency | Currency in effect for the session. |
| DateFormat | Pattern used to display dates in the session. |
| DecimalSeparator | Character that separates the integer and fractional parts of a displayed number. |
| FontSize | Preferred interface text size, such as medium or large. |
| GroupingSeparator | Character that separates groups of digits, such as thousands, in a displayed number. |
| Language | Application language in effect for the current session. |
| NumberFormat | Setting that controls how numbers appear, including the decimal and digit-grouping separators. |
| Territory | Country or region selected in the session's regional preferences. |
| TimeFormat | Pattern used to display times in the session. |
| TimeZone | User's preferred time zone. |
| ServerTime | Date and time reported by the server for the session. |
| DefaultLanguage | User's saved default application language. |
| DisplayNameLanguage | Preferred language for displaying the user's name in the global header. |
| Initials | Initials of the signed-in user. |
| AccountType | Type of account associated with the signed-in user. |
Workflows can alternaltely also use the delivered Self Detail business object's getUserSession function. Select the method appropriate to the agent pattern and available resources; keep the identity lookup ahead of dependent personal-data calls.
Chat Attachments Reader / Multifile Processor¶
Use Chat Attachments Reader in a Tool node to read files uploaded in the current conversation. This utility is also called Multifile Processor.
Turn on Enable file upload in Chat Experience to show the file upload option in the workflow's chat interface. Enable third party file upload allows users to additionally select files from configured cloud storage.
Set Conversation Identifier using the appropriate context expression, such as {{$context.$workflow.$conversationId}}. Then select the content required downstream:
| Option | Result |
|---|---|
| Parse the Files | Extracts readable content or metadata. Enabled by default. |
| Make Raw File Content Available (in base64 format) | Returns the original file bytes encoded as Base64 |
Node output¶
The node returns an $output object with properties for every file uploaded in the current conversation, including files uploaded in the current turn and in any earlier turn. File keys use the full filename, including its extension. The fields returned depend on the node options below.
| Field | Value |
|---|---|
<filename> |
Parsed file content returned when Parse the Files is enabled. |
<filename>_contentType |
Content type reported for the file, such as text/plain. Returned when Parse the Files is enabled. |
ORA_CHAT_ATTACHMENTS_RAW_FILECONTENT |
Returned when Make Raw File Content Available (in base64 format) is enabled. This object contains one entry per filename, with contentType and bas64EncodedFileContent fields. The latter holds the original file bytes encoded as Base64. |
The following $output example shows a single text file with both options enabled. Use the exact spelling bas64EncodedFileContent when mapping the raw file content.
{
"example.txt": "Hello",
"example.txt_contentType": "text/plain",
"ORA_CHAT_ATTACHMENTS_RAW_FILECONTENT": {
"example.txt": {
"contentType": "text/plain",
"bas64EncodedFileContent": "SGVsbG8="
}
}
}
To read example.txt from a downstream node, replace READ_ATTACHMENTS with your Chat Attachments Reader node code. Use bracket notation with the quoted filename key so the period in example.txt is treated as part of the key.
| Value | Expression | Result for the example above |
|---|---|---|
| Parsed content | {{$context.$nodes.READ_ATTACHMENTS.$output["example.txt"]}} |
Hello |
| Content type | {{$context.$nodes.READ_ATTACHMENTS.$output["example.txt_contentType"]}} |
text/plain |
| Base64 content | {{$context.$nodes.READ_ATTACHMENTS.$output.ORA_CHAT_ATTACHMENTS_RAW_FILECONTENT["example.txt"].bas64EncodedFileContent}} |
SGVsbG8= |
Use parsed content for language tasks. Use Base64 when an integration needs the original file. Avoid sending full extracted content to an LLM when a few relevant sections or schema-defined fields are sufficient.
File provenance determines the processing path: chat uploads, email attachments, and business-object attachments are separate inputs.
Intent Change Indicator¶
Use Intent Change Indicator to reset or segment chat history when the user's intent changes within a conversation. The tool uses the intent identifier supplied by the workflow.
- Add a Tool node downstream of the node that determines the current intent.
- Set Type to Intent Change Indicator.
- In Intent, enter an expression or use Insert Expression to select the variable that holds the current intent identifier. Use a stable value for each intent so follow-up questions about the same task produce the same identifier.
Example¶
Suppose a node with the code CLASSIFY_REQUEST returns an intent field. Set Intent to {{$context.$nodes.CLASSIFY_REQUEST.$output.intent}}.
If a user asks for their vacation balance and then asks how much time carries over, the classifier can return TIME_OFF_BALANCE for both turns. If the user then asks for a payslip, the classifier returns PAYSLIP. The indicator uses the change in value to reset or segment the chat history.
See Tool node configuration reference.
Calculations and fixed logic¶
For repeatable calculations and transformations in workflows, use Code nodes, reusable functions, or published policy functions. Specify input and return types and test the result before connecting it to a downstream decision. See Code, Set Variables, and Policy.
Validate tools before publishing¶
Check that each tool has the right parameters and returns the expected fields. Inspect real calls in the debugger, including authorization failures, missing inputs, empty results, and approval outcomes. Confirm document processing has finished and external credentials belong to the target environment.
When promoting a workflow, upload and republish document content, reconfigure email delivery, and restore External REST authentication as applicable. Re-run the relevant scenarios after the move.