Use Delete an item to have an AI Agent permanently remove one record from a selected data list. In a test application, prepare two disposable records so you can verify which one the tool deletes.
Accessing the Tools Page
Open the AI Agent and select Tools in the top navigation. From here you can add, edit, enable, disable, or remove tools.
Adding the “Delete an item” Tool
Select Add a tool → Delete an item.
Choose the application and the list under Data source.
Select Add to create the tool or Add and configure to open its settings.
General Settings (Brief Overview)
Under Details, confirm the tool name, description, type, application, and data source. Set Credentials to use to End user credentials for the caller’s access or Specific user for the selected user’s access. The execution identity must have permission to delete records from the selected list.
Inputs – Specify which item to delete
Pass the unique record ID from the selected list. If a user supplies a record name, look it up first and confirm the list and exact record before deletion. If more than one record matches, ask the user to choose one. Configure Query Items
Item Id (Required)
Column | Description |
Input name | Item Id |
Input type | Single line |
Fill using | Usually “Dynamically fill with AI” so the agent derives the ID from user intent |
Value | Optional custom value if a fixed ID is needed (rare) |
Notes:
Item Id is mandatory—without it, the system cannot determine which record to delete.
You may click Customize to manually set or control how the ID is interpreted.
Only one input is required; delete operations do not require any additional fields.
Note:
To learn more about the Dynamically fill with AI and Custom value options, please refer to the following article: Usage and Differences Between “Dynamically fill with AI” and “Custom value” in AI Agent Tool Inputs
Completion
In After running, choose Waiting for response if the agent should report whether the deletion succeeded.
Outputs available to the agent and other tools
These outputs define what information becomes available after the item is deleted.
Default outputs include:
Output | Output type | Description |
Data | Text | Delete operation result or returned payload, if any. |
Message | Text | A human-friendly message indicating success or failure. |
Status Code | Number | Numeric status (e.g., 200 for success, 404 if item not found). |
Managing outputs
Select Customize beside an output to adjust its value. You can remove an unused output and restore it later with Add output.
Summary
Configure the agent to show the test list, record name, and ID, then ask for explicit confirmation before calling the tool. Run the request once and cancel at confirmation. Check that both disposable records are still in the list.
Confirm a deletion for one record by its exact ID. Check the returned message and status, then refresh the list and verify that only the intended record was removed.
Try a nonexistent ID. If you use End user credentials, also check the response as a test user without delete access. Verify that the agent reports the failure.

