Kontent.ai connects to a Nagent workspace with an API key. Once it is connected, agents can call 7 Kontent.ai actions, such as "Get Content Item", "Get Language" and "Get Language Variant". Nothing is enabled on connect: each action is allowed one at a time, and an action with side effects runs or waits for a person according to the agent's level.
Every operation an agent can call against Kontent.ai, with input parameters and output schema.
KONTENT_AI_GET_CONTENT_ITEMTool to retrieve a specific content item by its identifier. Use after confirming the environment ID and item identifier.
Input parameters
Optional environment/project ID. Defaults to the connected environment.
Identifier of the content item. Use internal ID, or prefix with 'external-id/' or 'codename/' for external IDs or codenames respectively.
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
KONTENT_AI_GET_LANGUAGETool to retrieve a specific language by its ID. Supports Management API directly and Delivery API via normalization.
Input parameters
Optional environment/project ID. Defaults to the connected environment.
Identifier of the language. Use internal ID (UUID), or prefix with 'external-id/' for external ID, or 'codename/' for language codename.
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
KONTENT_AI_GET_LANGUAGE_VARIANTTool to retrieve a specific language variant of a content item. Use after confirming the item and language identifiers when needing localized content.
Input parameters
Optional environment/project ID. Defaults to the connected environment.
Identifier of the language variant. Use internal ID, or prefix with 'codename/' for codename of the language.
Identifier of the content item. Use internal ID, or prefix with 'external-id/' or 'codename/' for external IDs or codenames respectively.
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
KONTENT_AI_GET_TYPES_ELEMENTTool to retrieve a specific element from a content type by codename. Use when you need to get details about an element's configuration within a content type.
Input parameters
Codename of the content type containing the element.
Optional environment/project ID. Defaults to the connected environment.
Codename of the element within the content type.
Optional flag to determine whether the API waits while fetching latest content. Set to true to wait for new content to be loaded.
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
KONTENT_AI_LIST_CONTENT_ITEMSTool to list content items from the Delivery API. Use when fetching content items for a specified environment, optionally providing a continuation token for pagination.
Input parameters
Optional environment/project ID. Defaults to the connected environment.
Continuation token to fetch the next page of results
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
KONTENT_AI_LIST_CONTENT_TYPESTool to list content types within a Kontent.ai environment. Use when you need to retrieve a paginated list of content type definitions. Use after confirming the environment ID.
Input parameters
Continuation token from a previous response to fetch the next page.
Optional environment/project ID. Defaults to the connected environment.
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
KONTENT_AI_LIST_LANGUAGESTool to list languages in a Kontent.ai project. Use when you need to retrieve all languages for a specified environment after confirming the project ID.
Input parameters
Number of items to skip for pagination
Maximum number of items to return
Specifies the ordering of languages, e.g., codename\[asc\]
Optional environment/project ID. Defaults to the connected environment.
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
Agents can call 7 Kontent.ai actions on Nagent, including "Get Content Item", "Get Language" and "Get Language Variant". Get Content Item: Retrieve a specific content item by its identifier. Each action is listed on this page with its input parameters and its output.
Kontent.ai connects with an API key, under your workspace's own connection. Nothing is enabled on connect: each action is allowed one at a time and can be scoped to the agents that need it.
Get Content Item takes 1 required input: item_identifier. It also takes 1 optional input: environment_id. It returns data, error and successful.