tools tag in the AI Gateway. For MCP server connections, see MCP Portal.
The following Tools are available:
Function Tool
JSON Schema Tool
HTTP Tool
MCP Servers
Python Tool
Choosing a tool type
Orq.ai executes every tool type except Function: the model calls the tool, the platform runs it, and the run continues without the application being involved. A Function Tool is the one that gets handed back. The platform returns the call and waits for the application to execute it and send the result, which makes it the escape hatch for anything the platform cannot reach on its own. Pick a Function Tool when the code needs the application’s own environment: a database connection, an internal client library, credentials that never leave the application, or logic that no single request can express. An HTTP Tool is less work when the capability is already a REST endpoint, because Orq.ai makes the request. Small self-contained logic can go in a Python Tool, which runs on the platform with no application code at all.Function Tool
A Function Tool lets the model call custom code that runs in the application invoking the agent, not on the Orq.ai platform. Use it for database queries, internal APIs, or any logic that requires access to the application’s environment.- AI Studio
- API & SDK
- CLI
Add a new Tool

Select Function Tool
Enter Tool Details
- Key, used by models to reference the tool
- Name, used in the studio to find the tool
- Description (required), used to describe the tool
- Path, the project folder that holds the tool; select Browse to place it elsewhere

Configure all fields
Configure your Function Tool
get_current_weather that declares the fields location (string) and unit (string):object, string, integer, number, array, etc. The top-level type will most commonly be an object holding other properties.Learn more about all JSON types in the JSON Schema definition.PropertiesProperties are definitions of fields within an object. Here you can define any new variable. Nested properties are allowed.RequiredThe required array within an object defines which fields must be entered for a JSON payload to be validated.Publish your Tool
JSON Schema Tool
- AI Studio
- API & SDK
- CLI
Add a new Tool

Select JSON Schema Tool
Enter Tool Details
- Key, used by models to reference the tool
- Name, used in the studio to find the tool
- Description (required), used to describe the tool
- Path, the project folder that holds the tool; select Browse to place it elsewhere

Configure all fields
Configure your JSON Schema Tool
get_current_weather that declares the fields location (string) and unit (string):object, string, integer, number, array, etc. The top-level type will most commonly be an object holding other properties.Learn more about all JSON types in the JSON Schema definition.PropertiesProperties are definitions of fields within an object. Here you can define any new variable. Nested properties are allowed.RequiredThe required array within an object defines which fields must be entered for a JSON payload to be validated.Publish your Tool
HTTP Tool
- AI Studio
- API & SDK
- CLI
{{variable}} syntax to inject dynamic values into any field.Add a new Tool

Select HTTP Tool
Enter Tool Details
- Key, used by models to reference the tool
- Name, used in the studio to find the tool
- Description (required), used to describe the tool
- Path, the project folder that holds the tool; select Browse to place it elsewhere

Configure all fields
Configure your HTTP Tool

Configure your HTTP Tool
{{variable}} syntax within any configuration field. The variable will be resolved at runtime when the payload is built for the HTTP call.Autogenerate Schema when using variables to ensure variable definition is correctly created.Publish your Tool
MCP Servers
MCP servers are now managed centrally in the AI Gateway under MCP Portal. Each server registers an upstream MCP endpoint, discovers tools automatically, and exposes them to Agents and Gateways.MCP Servers
MCP Gateways
Python Tool
Code exceeds maximum size error and does not run.- AI Studio
- API & SDK
- CLI
params and store the result in result.Add a new Tool

Select Python Tool
Enter Tool Details
- Key, used by models to reference the tool
- Name, used in the studio to find the tool
- Description (required), used to describe the tool
- Path, the project folder that holds the tool; select Browse to place it elsewhere

Configure all fields
Configure your Python Tool
name field defined and then further fetched using params.get('name').Ensure your return value is stored within the result field.
Configure your Python Tool
Publish your Tool
Versions
When you are done editing, click Publish to save your changes. You will be prompted to write a commit message and choose a version bump: major, minor, or patch.
Publish a new version of your Tool
- Patch (e.g.
v1.0.0tov1.0.1): small fixes, no behavior change - Minor (e.g.
v1.0.0tov1.1.0): new functionality, backwards compatible - Major (e.g.
v1.0.0tov2.0.0): breaking change or significant rework
v1.0.0, v1.1.0) and each entry shows the author and publish timestamp.

Version history in the Versions tab
Using Tools
Agents
Agents
key in the settings.tools array. Your agent’s instructions must explicitly describe each tool and when to use it.Deployments
Deployments