Documentation Index
Fetch the complete documentation index at: https://relevanceai.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
What Are Inputs?
Inputs are the essential data your tool needs to do its job. Think of them as the information your tool asks for before it can perform its magic - whether that information comes from a human user, an AI agent, or another tool.Basic Input Types
Text input
A simple single-line text field for short answers like names, IDs, or brief responsesLong text input
A multi-line text area perfect for detailed descriptions, paragraphs, or longer contentNumeric input
Accepts only numbers, ideal for quantities, ages, or any numerical dataCheckbox
A simple yes/no toggle for binary choices (true/false, on/off)Selection Input Types
Options dropdown
A menu with predefined choices for users to select fromText list
Allows entering multiple text items, typically one per lineTable
Structured data organized in rows and columns, similar to a spreadsheetAdvanced Input Types
JSON
When you specify a JSON input, you can optionally provide a JSON Schema in the advanced options to describe the format of the JSON input. This schema describes the expected structure of the JSON input, and is used to help guide the agent to provide data in the correct format. Providing a schema helps to improve the accuracy of calling the tool.List of JSONs
Handles multiple JSON objects in a list structureKnowledge table
For inputting or selecting from predefined knowledge basesFile Handling
File to text
Uploads a file and converts its contents to textFile to URL
Uploads a file and provides a URL to access itMultiple files to URLs
Same as above but for multiple files at onceAuthentication Types
API key
Securely input API keys for external servicesOAuth account
Handles secure connection to third-party services with proper authorization. OAuth account inputs allow users to connect their accounts from third-party services (like HubSpot, Slack, Google Sheets, etc.) to your tool. OAuth account inputs can be used in tools that support OAuth authentication, or in Python code steps. For details on using OAuth accounts in Python code, see the Python Tool step documentation.Creating an Input
To add an input to your tool:- Select the appropriate input type from the options
- Give your input a descriptive name
- Add a helpful description so users know what to enter
- Assign a variable name (this is how your tool will reference this input)
Using Default Values as Constants
Default values are pre-filled inputs that make your tools more efficient and easier to use.Why Use Default Values?
- Create constants - Set values that stay the same across multiple runs (API endpoints, base URLs)
- Provide examples - Show realistic sample data to demonstrate how the tool works
- Save time - Pre-fill common inputs to reduce repetitive typing and potential errors
How to Set Default Values
- Find the input field you want to set a default for
- Enter your desired default value
- Click “Set value as default”

