Tools Reference
Quick Reference:
read_integration
Retrieves the complete or partial structure of an integration. Returns service requests, field mappings, validation rules, value mapping sets, and value mappings. Each component includes associated tags and comments.
Returns: Integration structure with the requested components and a warnings array for potential configuration issues.
Behavior:
If you do not specify components, the tool returns all components
You can selectively retrieve specific components
write_integration
Creates or updates any part of an integration. The system automatically updates the integration's last saved timestamp. When you create an integration this way, the system automatically grants full permissions to the creator.
Returns: Object with success status, integration details, created_integration flag, detailed changes for each component (created/updated items with old/new values), and warnings array.
Behavior:
Include the
idfield to update existing componentsOmit the
idfield to create new componentsNew child components must include a parent ID (
servicerequest_id,valuemappingset_id)Set
create_if_missingtotrueto create the integration if it does not exist
search_integration
Searches for a regex pattern across all code fields in an integration. You can specify search components to limit the scope, or search all components by default. Case sensitivity defaults to true. The number of context lines before and after matches defaults to 2.
Returns: Object with integration details, total match count, and matches organized by component type.
list_integrations
Lists all integrations accessible to the user with their permission levels. Can optionally filter to show only active integrations.
Returns: Object with total count and array of integrations with a permissions object (read, write, execute, debug booleans).
execute_integration
Executes an integration directly. If you provide a tool_definition and the integration has no registered MCP tool, the system automatically registers one. You can provide the payload directly or extract it from a previous run history.
Returns: Result varies by scenario:
Not registered, no tool_definition: Object with
success: false,requires_tool_definition: true, and guidance messageValidation fails: Object with
success: falseandvalidation_errorsarraySuccess: Object with
success: true, integration details, result data, and optionalrun_history_idFailure: Object with
success: false, error message, and error type
Behavior:
You must restart the client to see a newly registered tool in the tools list
payloadandrun_history_idare mutually exclusive input methods
get_run_history
Requires the Can use MCP Run History tool Django user permission.
Retrieves detailed run history for a specific integration execution. You can optionally include or exclude items, messages, and labels. All default to included.
Returns: Object with run history metadata, optional labels array, and items overview array with size estimates. If total size exceeds 900 KB, the tool returns a size_error instead of full items.
Behavior:
The tool checks estimated item sizes and prevents response overflow automatically
Use
get_run_history_itemfor items that exceed the 900 KB threshold
get_run_history_item
Requires the Can use MCP Run History tool Django user permission.
Retrieves run history items with optional search through regex or jq expressions.
Modes:
Get a specific item by
item_idSearch within an item using
item_id+searchSearch across run history using
run_history_id+search
Returns: Full item with request, response, content, stack trace, and messages. If an item exceeds 900 KB, returns an error object with a suggestion to use search. Search results include match arrays with item IDs and types.
search_run_histories
Requires the Can use MCP Run History tool Django user permission.
Searches and filters run histories for integrations. This tool supports all filter methods available in the web interface.
Returns: Object with record count, records per page limit, and array of run history records with metadata. Text searches also include a search report and match item IDs.
Behavior:
Returns only the first page of results ordered by most recent first
Datetime filters accept ISO 8601 format, and the system automatically converts timezones to UTC
delete_integration_component
Deletes an integration or component from Integration Gateway. The AI assistant must ask the user for explicit confirmation before it calls this tool.
Returns: Object with success status, integration details, deleted component details, and confirmation message.
Behavior:
The tool description instructs the AI to request explicit user confirmation before it executes a delete
When you delete an integration, the system deletes all of its components (service requests, field mappings, validation rules, value mapping sets, and value mappings)
query_buildhelper
Queries the Build Helper service for integration building assistance. Use this tool to discover available services, adapters, and pre-built field mapping templates.
Endpoints:
list_all_services: Get complete catalog of services with IDslist_all_adapters: Get complete catalog of adapters with IDslist_services_for_adapter: Get catalog of services for a specific adapterget_field_mapping_sets: Get pre-built templates for a specific serviceget_field_mappings: Get actual field mappings from a template
Typical Workflow:
list_all_adaptersto get the adapter cataloglist_services_for_adapterto get services for a specific adapterget_field_mapping_setsto get templates for a serviceget_field_mappingsto get field mappings from a template
frontend_operations
Performs CRUD operations on Integration Gateway frontends. Frontends enforce Content Security Policy (CSP) restrictions: HTML files must not contain inline script tags or inline event handlers. All JavaScript must be in separate .js files.
Actions:
list-frontends: List all available frontends with names, paths, URLs, and allowed domainscreate-frontend: Create a new frontend with a CSP-compliant template (index.html, styles.css, script.js)list-files: List all files in a frontend's zip archiveget-file: Get content of specific files from a frontend zipput-file: Create or update files in a frontend zipdelete-file: Delete files from a frontend zip
Behavior:
File paths cannot be absolute, contain null bytes, or use
..path traversalThe system auto-generates the frontend path from the name
django_admin
Manages Django admin-registered models in Integration Gateway. Use this tool to list available models, retrieve instances, create instances, update instances, and delete instances. All operations respect Django admin permissions and generate audit log entries.
Actions:
describe-models: List all admin-registered models the user can access, with permissions and field metadataget-model: Retrieve one or more model instances with optional Django ORM filteringpost-model: Create a new model instance with form validationpatch-model: Update an existing model instance (only specified fields change)delete-model: Delete a model instance (requires explicit user confirmation)
Behavior:
Model names must use
app_label.ModelNameformatForeign key fields use the
_idsuffix with an integer value or nullMany-to-many fields accept a list of integer IDs
The system masks encrypted fields in output
The system blocks certain models (for example, GlobalConfig) from access
The system caps results at 200 instances per query
User-Defined Tools
In addition to the built-in tools, Integration Gateway supports user-defined tools that execute specific integrations. Administrators create these tools through the Integration Gateway admin interface.
Each user-defined tool:
Executes a specific integration
Has a custom name and description
Has a custom input schema (JSON Schema)
Accepts a payload that conforms to its input schema
Returns the result of the integration execution
You can also register integrations as MCP tools programmatically using the execute_integration tool with a tool_definition parameter.
Last updated
Was this helpful?