AI21 Studio provides API access to Jurassic-1 large-language-models. Our models power text generation and comprehension features in thousands of live applications.
AI21 Studio provides API access to Jurassic-1 large-language-models. Our models power text generation and comprehension features in thousands of live applications. On Nagent, Studio By Ai21 Labs is exposed as a fully-configurable ai models integration that any agent can call — 57 actions, and API key authentication. No code is required to wire Studio By Ai21 Labs into your workflow — connect it once via the External Integrations panel and reuse it across every agent you build.
Agent builders use Studio By Ai21 Labs to automate the kinds of tasks ai models teams previously handled manually. Concrete examples — each one is a single agent step in Nagent — include:
Every action and trigger is paired with a structured input/output schema (visible in the sections below), so when you wire Studio By Ai21 Labs into Helix — our agentic agent builder — the editor knows exactly what each step expects and produces. Configure once, deploy anywhere across your Nagent agents.
Every operation an agent can call against Studio By Ai21 Labs, with input parameters and output schema. Drop these into any step of an agent built in Helix.
STUDIO_BY_AI21_LABS_CHECK_CAN_IFRAMETool to check if a URL can be embedded in an iframe. Use when you need to verify iframe compatibility before embedding external content.
Input parameters
The URL to check for iframe compatibility
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_COMPARE_TEXTTool to compare two text strings and identify differences. Use when you need to analyze changes between an original text and its modified version.
Input parameters
The modified text to compare with the original
The original text to compare against
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_CREATE_AFTERSALES_PARTS_BATCHTool to create a batch job for Fnac Aftersales parts classification. Use when you need to classify multiple aftersales cases to determine which parts are needed for repairs.
Input parameters
Array of aftersales cases for parts classification. The array cannot be empty.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_CREATE_ASSISTANT_ROUTETool to create a new route for an AI21 Studio assistant. Use when you need to define a new conversational path or query pattern for an assistant.
Input parameters
The name of the route.
The unique identifier of the plan to associate with this route.
A list of example queries or scenarios for this route.
A description of the route's purpose.
The unique identifier of the assistant to create a route for.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_CREATE_ASSISTANTSTool to create a new AI assistant in AI21 Studio. Use when you need to set up a new assistant with custom configuration, tools, and behavior.
Input parameters
Name of the assistant to create
List of tool definitions (HTTP, MCP, file search, or web search tools) available to the assistant
Avatar image URL or identifier for the assistant
Budget level for the assistant. Defaults to 'medium'
List of model identifiers the assistant can use
Description of the assistant's purpose and capabilities
Optimization strategy for the assistant
List of requirements for the assistant
System prompt that defines the assistant's behavior and personality
Type of the assistant. Defaults to 'default'
Configuration for workflow integration.
Configuration overrides for the assistant
List of starter questions to help users interact with the assistant
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_CREATE_ASSISTANTS_ASSISTANT_ID_PLANSTool to create a new plan for an AI21 Studio assistant. Use when you need to add a new plan with Python code to an assistant.
Input parameters
The Python code for the plan to be created.
Optional array of schema objects associated with the plan.
The unique identifier of the assistant to create a plan for.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_CREATE_DEMOTool to create a new demo in AI21 Studio. Use when you need to set up a new demo with specified visibility and status.
Input parameters
Name of the demo to create.
Demo configuration as a JSON object. Optional configuration settings for the demo.
Status of the demo (active or inactive).
Visibility level of the demo (public or private).
Name of the UI component associated with this demo.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_CREATE_GENERATION_REQUIREMENTSTool to generate requirements from a query or task description. Use when you need to break down a high-level task into specific requirements.
Input parameters
The query or task description to generate requirements from. For example, 'Build a task management system' or 'Create a user authentication system'.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_CREATE_GENERATION_THREAD_NAMETool to generate a thread name from a query or conversation context. Use when you need to create a descriptive title for a conversation thread.
Input parameters
The query or conversation context to generate a thread name from. For example, 'What is the weather like today?' or 'How do I implement authentication?'.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_CREATE_KIRSH_GRANT_COMPLIANCE_PREVIEWTool to preview grant compliance for Kirsh grants. Use when you need to check compliance status for specific grant IDs.
Input parameters
List of grant IDs (as integers) to check for compliance
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_CREATE_KIRSH_GRANT_PREVIEWTool to retrieve grant metadata from the Kirsh preview endpoint. Use when you need to fetch grant information including grant name and associated organization details.
Input parameters
The unique identifier for the grant to retrieve metadata
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_CREATE_MCP_STORAGETool to create MCP (Model Context Protocol) storage in AI21 Studio. Use when you need to register and configure an MCP server connection for your workspace.
Input parameters
Authentication value (API token or header value, required if authentication_type is not 'none')
URL of the MCP server to connect to
Human-readable label for the MCP server
UUID of the workspace to associate with this MCP storage
List of tool names allowed for this MCP storage. If not specified, all tools are allowed
Name of the authentication header (required if authentication_type is 'custom-header')
Authentication type for MCP server.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_CREATE_SECRETTool to save a secret in AI21 Studio. Use when you need to securely store sensitive information like API keys or passwords.
Input parameters
The identifier for the secret. This name will be used to reference the secret later.
The confidential data to be stored securely. This is the actual secret value that will be encrypted and saved.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_CREATE_SOLUTIONS_KIRSH_GRANT_COMPLIANCETool to check compliance for Kirsh grant IDs. Use when you need to verify compliance status for one or more grants.
Input parameters
Array of grant IDs to check for compliance. Each ID must be a valid integer.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_CREATE_WEBSITE_CONNECTORTool to create a website connector in AI21 Studio. Use when you need to index website content via sitemap or specific URLs for RAG or grounding purposes.
Input parameters
Type of connector: 'sitemap' for a sitemap URL, or 'urls' for a list of specific URLs
Either a single sitemap URL (when type='sitemap') or a list of webpage URLs (when type='urls')
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_DELETE_ASSISTANTTool to delete an assistant by its unique ID. Use when you need to permanently remove an assistant from the system.
Input parameters
Unique identifier of the assistant to delete
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_DELETE_ASSISTANT_ROUTETool to delete a route from an AI21 Studio assistant. Use when you need to remove a routing configuration from an assistant.
Input parameters
The unique identifier of the route to delete
The unique identifier of the assistant whose route should be deleted
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_DELETE_DEMOTool to delete a demo by its unique ID. Use when removing a specific demo from AI21 Studio.
Input parameters
Unique identifier of the demo to delete
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_DELETE_MCP_STORAGETool to delete an MCP (Model Context Protocol) storage configuration by its unique ID. Use when you need to permanently remove an MCP server configuration from AI21 Studio.
Input parameters
Unique identifier of the MCP storage configuration to delete
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_DELETE_SECRETTool to delete a secret by its unique ID. Use when you need to permanently remove a secret from AI21 Studio.
Input parameters
Unique identifier of the secret to delete
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_DELETE_WEBSITE_CONNECTORPermanently delete a website connector by its unique identifier. Use when you need to remove a website connector that is no longer needed.
Input parameters
Unique identifier of the website connector to delete. Format: UUID string (e.g., '45fd5bfc-bf64-41db-8dab-787b18c97229'). WARNING: This permanently deletes the website connector and its configuration.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_DOWNLOAD_MODIFIED_DOCUMENTTool to download a modified document from AI21 Labs Studio. Use when you need to generate and download a document with specific content and filename.
Input parameters
The document content to be downloaded. This is the text content of the document.
The filename for the downloaded document. Include the file extension (e.g., 'document.txt', 'report.pdf').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_GET_ASSISTANTTool to retrieve an assistant by its unique identifier. Use when you need to get details about a specific assistant including its configuration, tools, and settings.
Input parameters
The unique identifier of the assistant to retrieve.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_GET_ASSISTANT_ROUTETool to retrieve details of a specific route for an AI21 Studio assistant. Use when you need to get information about a particular route configuration.
Input parameters
The unique identifier of the route to retrieve
The unique identifier of the assistant
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_GET_ASSISTANTS_BY_MCPTool to retrieve all assistants associated with a specific MCP (Model Context Protocol) storage configuration. Use when you need to list assistants that are connected to a particular MCP server.
Input parameters
The unique identifier of the MCP storage to retrieve assistants for.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_GET_BATCH_STATUSTool to check the status of a Fnac Aftersales parts classification batch prediction job. Use when you need to monitor the progress or retrieve results of a previously submitted batch.
Input parameters
UUID format batch identifier returned from POST /solutions/fd_aftersales/parts-classification/batch. Used to query the status of a batch prediction job.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_GET_DEMOTool to retrieve a demo by its unique ID. Use when you need to fetch details about a specific demo including its name, status, visibility, and configuration.
Input parameters
The unique identifier of the demo to retrieve.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_GET_KIRSH_GRANT_METADATATool to retrieve Kirsh grant metadata by grant ID. Use when you need to fetch grant information including grant name and organization details.
Input parameters
The grant ID to retrieve metadata for
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_GET_LIBRARY_BATCH_STATUSTool to get the ingestion status of a library batch. Use when you need to check the processing status of documents in a batch upload.
Input parameters
The UUID of the batch to retrieve status for
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_GET_MCP_STORAGETool to retrieve a specific MCP (Model Context Protocol) storage configuration by its unique ID. Use when you need to get details about a particular MCP server including its URL, label, authentication settings, and allowed tools.
Input parameters
The unique identifier of the MCP storage configuration to retrieve.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_GET_OUTPUT_EXPLANATIONTool to get output explanation for an execution (cached or generated). Use when you need to retrieve or regenerate the explanation for a specific execution. Set force_regenerate to true to bypass cache.
Input parameters
The unique identifier of the execution to get the output explanation for.
Set to true to regenerate the explanation even if a cached version exists. Defaults to false.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_GET_PLANTool to retrieve a specific plan from an AI21 Studio assistant. Use when you need to fetch details of a plan by its ID.
Input parameters
Unique identifier for the plan to retrieve.
Unique identifier for the assistant that owns the plan.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_GET_WEBSITE_CONNECTOR_BY_IDTool to retrieve details of a specific website connector by its ID. Use when you need to fetch information about a website connector in AI21 Studio.
Input parameters
The unique identifier of the website connector to retrieve
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_GET_WEBSITE_CONNECTOR_STATUSTool to retrieve the status of a website connector ingestion. Use when you need to check the processing status of a website that was added to AI21 Studio.
Input parameters
The unique identifier of the website to retrieve status for
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_GET_WEBSITE_CONNECTOR_URL_STATUSTool to retrieve the status of a specific URL in the website connector. Use when you need to check the processing status of a URL that was previously ingested.
Input parameters
Unique identifier of the URL whose status is being queried.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_INGEST_WEBSITE_CONNECTORTool to ingest website content via sitemap URL in AI21 Studio. Use when you need to process and index website pages from a sitemap for RAG, grounding, or document analysis purposes.
Input parameters
Optional list of labels to tag the ingested content for organization and filtering.
URL of the XML sitemap to ingest. Must be a valid, accessible, and well-formed sitemap URL.
Optional client configuration string for advanced ingestion settings.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_INGEST_WEBSITE_CONNECTOR_URLTool to ingest a website URL into AI21 Studio's website connector. Use when you need to add a specific URL to be processed and indexed by the website connector for RAG or grounding.
Input parameters
The website URL to ingest and process for the website connector
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_LIST_ASSISTANTSTool to retrieve all assistants from AI21 Studio. Use when you need to list available assistants, optionally filtered by workspace IDs.
Input parameters
Filter assistants by workspace IDs. If provided, only assistants belonging to the specified workspaces will be returned.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_LIST_CONNECTORS_WEBSITETool to retrieve website connector information from AI21 Studio. Use when you need to get details about configured website connectors.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_LIST_DEMOSTool to retrieve all demos from AI21 Studio. Use when you need to list all available demos including their names, statuses, visibility settings, and configurations.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_LIST_LIBRARY_FILESTool to list files in the workspace library with optional filtering. Use to retrieve file metadata, search by name/path/status/labels, or paginate through library contents.
Input parameters
Filter files by name. Only files matching this name will be returned.
Filter files by path prefix. Use path-like strings to organize files (e.g., 'pets/dogs', 'pets/fish'). Filtering by 'pets/' matches all files with paths starting with 'pets/'. Path matching is prefix-based, not substring-based.
Filter files by labels. Only files with all specified labels will be returned. Labels are case-sensitive and do not use prefix matching (unlike paths). Maximum of 20 unique labels per account.
Maximum number of files to return. Default is 500000.
Number of files to skip before returning results. Use for pagination.
Status of a library file.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_LIST_MCP_STORAGETool to retrieve all MCP (Model Context Protocol) storage configurations from AI21 Studio. Use when you need to list available MCP servers and their configurations, optionally filtered by workspace ID.
Input parameters
Filter MCP storage by workspace ID. If provided, only MCP storage configurations belonging to the specified workspace will be returned.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_LIST_MODELSTool to retrieve information about all available AI21 models. Use when you need to list models with their specifications, pricing, and capabilities.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_LIST_PLANSTool to list all plans for a specific assistant. Use when you need to retrieve the plans associated with an assistant ID.
Input parameters
The unique identifier of the assistant whose plans to retrieve
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_LIST_SECRETSTool to retrieve all secrets from AI21 Studio secret storage. Use when you need to list stored secrets and their metadata.
Input parameters
Maximum number of secrets to return per page (default 10, max 100).
Number of secrets to skip before returning results. Use for pagination.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_LIST_SETTINGS_MODELSTool to retrieve all workspace models by organization from AI21 Studio. Use when you need to list available models for the workspace.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_LIST_SETTINGS_MODELS_AVAILABLETool to retrieve all available models from AI21 Studio settings. Use when you need to list models that are available for use in the workspace.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_MODIFY_ASSISTANTTool to modify an existing AI21 Studio assistant. Use when you need to update assistant properties like name, description, models, system prompt, or configuration. At least one field must be provided to update. All fields except assistant_id are optional.
Input parameters
New name for the assistant
List of tools available to the assistant (HTTP tools, MCP tools, file search, web search)
Avatar URL or identifier for the assistant
Budget level for the assistant.
List of model names to use for the assistant
Visibility setting for the assistant.
New description for the assistant
Whether to archive the assistant. Archived assistants are not active but can be restored.
The unique identifier of the assistant to modify
Optimization strategy for the assistant.
List of requirements for the assistant
System prompt that defines the assistant's behavior and personality
Workflow configuration for the assistant.
Configuration overrides for advanced customization of the assistant
Response language for the assistant.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_MODIFY_ASSISTANT_ROUTETool to modify an existing route within an assistant. Use when you need to update the description or examples of a specific route in an AI21 Studio assistant.
Input parameters
List of example strings for the route.
The unique identifier of the route to modify.
The modified description for the route.
The unique identifier of the assistant containing the route to modify.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_MODIFY_PLANTool to modify an existing assistant plan in AI21 Studio. Use when you need to update the code or schemas of a plan.
Input parameters
The Python code that defines the modified plan logic. This is the main content of the plan.
The unique identifier of the plan to modify.
Optional array of schema objects that define the structure or validation rules for the plan.
The unique identifier of the assistant containing the plan to modify.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_RETRY_INGEST_WEBSITETool to retry ingestion of a website in AI21 Studio. Use when a website ingestion has failed and you need to trigger another attempt to ingest the content.
Input parameters
The unique UUID identifier of the website to retry ingestion for. Must be a valid UUID format.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_RUN_ASSISTANTTool to run an AI21 Studio assistant with conversational input. Use when you need to interact with a configured AI21 assistant by providing messages and receiving responses. The assistant processes the input messages and returns a result based on its configuration. Supports multiple languages and optional features like dynamic planning and structured RAG.
Input parameters
Array of messages representing the conversation input. Each message must have a role and content.
Array of additional fields to include in the response (e.g., 'data_sources', 'requirements_result', 'requirements_result.metadata')
Enable verbose output for detailed execution information. Defaults to false.
Specify the structure or type of the expected output
The unique identifier of the assistant to run
Optional system prompt to override the assistant's default system prompt
Supported response languages for the assistant.
Enable structured RAG (Retrieval Augmented Generation) for the assistant. Defaults to false.
Enable dynamic planning for the assistant. Defaults to false.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_SYNC_WEBSITE_CONNECTORTool to sync a website connector in AI21 Studio. Use when you need to trigger a synchronization of website content for a specific connector.
Input parameters
The unique identifier of the website connector to sync.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_UPDATE_DEMOTool to update an existing demo in Studio by AI21 Labs. Use when you need to modify demo properties such as name, status, visibility, or configuration.
Input parameters
Name of the demo.
Demo configuration object.
Status of the demo.
The unique identifier of the demo to update.
Visibility of the demo.
Name of the UI component.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_UPDATE_MCP_STORAGETool to update an existing MCP (Model Context Protocol) storage configuration in AI21 Studio. Use when you need to modify the server label of an MCP storage configuration.
Input parameters
The unique identifier of the MCP storage configuration to update
Updated label or name for the MCP server
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_UPDATE_SECRETTool to update an existing secret in AI21 Studio. Use when you need to modify secret properties such as name or value.
Input parameters
The unique identifier of the secret to update
Updated name for the secret
Updated value for the secret
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STUDIO_BY_AI21_LABS_VALIDATE_PLANTool to validate Python code for an AI21 Studio assistant plan. Use when you need to verify that code is syntactically correct and executable before using it in an assistant.
Input parameters
The Python code to validate. This should be a complete function or code block that will be validated for syntax and execution.
Optional list of schema objects to validate against the code.
The unique identifier of the assistant for which to validate the plan.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
No publicly available marketplace agent is found using this tool yet. There are 99 agents privately built on Nagent that already use Studio By Ai21 Labs.
Build on Nagent
Connect Studio By Ai21 Labs to any Nagent agent in minutes — no API key management, no boilerplate. Just configure and deploy.
The five questions agent builders ask before adopting a new integration.
Open the External Integrations panel inside Nagent (app.nagent.ai/externalIntegration), find Studio By Ai21 Labs, and click "Connect Now." You'll authenticate with an API key — Nagent handles credential storage and refresh automatically. Once connected, Studio By Ai21 Labs is available to any agent in your workspace.
No. Nagent provides no-code integration for every tool. Once Studio By Ai21 Labs is connected, you configure its 57 actions directly in the agent builder UI — no API calls, no boilerplate, no schema management.
Helix — Nagent's agentic agent builder — lets you drop Studio By Ai21 Labs steps into any workflow visually. Pick an action (e.g., one of those listed above), fill in the inputs (Helix knows the required vs. optional schema for each parameter), and connect it to upstream/downstream steps. Triggers run as the entry point of an agent, so when a Studio By Ai21 Labs event fires, the agent kicks off automatically.
Every Studio By Ai21 Labs action and trigger ships with a fully-typed schema — input parameters with name, type, required flag, and description, plus the output payload shape. The schemas are documented in the sections above. Helix uses these schemas to validate your configuration at build time and to type-check the data flowing between steps.
Yes. While Studio By Ai21 Labs ships with 57 pre-built ai models actions, you can layer custom logic around them inside Helix — pre/post-processing steps, conditional branches, retries, or stitching Studio By Ai21 Labs together with other connected tools. For deeper customization, talk to our team about Nagent's Agentic AI Lab — forward-deployed engineers who build Studio By Ai21 Labs-based workflows tailored to your business.