Leiga connects to a Nagent workspace with an API key. Once it is connected, agents can call 10 Leiga actions, such as "Create Project", "Get File List" and "Get Issue Detail by Number". 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 Leiga, with input parameters and output schema.
LEIGA_CREATE_PROJECTTool to create a new project in Leiga. Use after gathering project details and authenticating.
Input parameters
Name of the project
Contact person for the project
Identifier of the project type
Project end date and time in ISO 8601 format
Project start date and time in ISO 8601 format
Project description
Phone number of the contact person
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
LEIGA_GET_FILE_LISTTool to retrieve a paginated list of files in a specified directory. Use after obtaining the directory ID to view files.
Input parameters
Page number for pagination (must be >= 1)
Optional search keyword to filter file names
Optional filter for file type, e.g., 'image', 'pdf'
Number of items per page (must be >= 1)
Directory ID to list files from
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
LEIGA_GET_ISSUE_DETAIL_BY_ISSUE_NUMBERTool to fetch detailed information about a specific issue using its issue number. Use when you have an issue number and need complete issue details.
Input parameters
The unique identifier for the issue.
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
LEIGA_GET_ISSUE_SCHEMATool to retrieve the issue custom-field schema. Use when you need the full list of field configurations after selecting an issue type.
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
LEIGA_GET_PROJECT_INFORMATIONTool to fetch detailed information about a specific project by its ID. Use when you need complete project metadata, including owner and members.
Input parameters
The unique identifier of the project
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
LEIGA_GET_PROJECT_OVERVIEW_TEMPLATETool to retrieve the project overview template. Use when you need the structured overview template for a project after confirming its ID.
Input parameters
Unique identifier of the project to retrieve the overview template 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
LEIGA_GET_PROJECT_TEMPLATE_LISTTool to retrieve a list of project templates. Use when browsing available templates before creating a new project.
Input parameters
Template name to filter the list
Current page number (must be >= 1)
Number of records per page (must be >= 1)
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
LEIGA_GET_VERSION_LISTTool to fetch list of versions for a specific platform. Use when you need to view all available versions before deployment.
Input parameters
Page number for pagination (must be >= 1)
Number of items per page (must be >= 1)
Platform type, e.g., 'android' or 'ios'
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
LEIGA_GET_WEBHOOK_TYPE_LISTTool to retrieve the list of available webhook types. Use when configuring webhooks and you need to know valid event types.
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
LEIGA_LIST_PROJECTSTool to list all projects available to the authenticated user. Use when you need to retrieve your projects in paginated form (e.g., page 1 with 10 per page).
Input parameters
Page number for pagination (must be >= 1)
Number of projects per page (must be >= 1)
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 10 Leiga actions on Nagent, including "Create Project", "Get File List" and "Get Issue Detail by Number". Create Project: Create a new project in Leiga. Each action is listed on this page with its input parameters and its output.
Leiga 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.
Create Project takes 1 required input: name. It also takes 6 optional inputs: contact, type_id, end_time, start_time, description and contact_phone. It returns data, error and successful.