KosmoKrator

productivity

Crowdin Lua API for KosmoKrator Agents

Agent-facing Lua documentation and function reference for the Crowdin KosmoKrator integration.

7 functions 7 read 0 write API token auth

Lua Namespace

Agents call this integration through app.integrations.crowdin.*. Use lua_read_doc("integrations.crowdin") inside KosmoKrator to discover the same reference at runtime.

Agent-Facing Lua Docs

This is the rendered version of the full Lua documentation exposed to agents when they inspect the integration namespace.

Crowdin Integration

Tools

crowdin_list_projects

List Crowdin projects.

Parameters:

  • group_id (integer, optional) — Filter projects by group ID.
  • limit (integer, optional) — Maximum number of projects to return (max 500, default 25).
  • offset (integer, optional) — Pagination offset (default 0).

crowdin_get_project

Get details of a specific project.

Parameters:

  • project_id (integer, required) — The project ID.

crowdin_list_strings

List source strings in a project.

Parameters:

  • project_id (integer, required) — The project ID.
  • file_id (integer, optional) — Filter by file ID.
  • branch_id (integer, optional) — Filter by branch ID.
  • limit (integer, optional) — Maximum number of strings to return (default 25).
  • offset (integer, optional) — Pagination offset (default 0).

crowdin_get_string

Get details of a specific source string.

Parameters:

  • project_id (integer, required) — The project ID.
  • string_id (integer, required) — The string ID.

crowdin_list_translations

List translations in a project.

Parameters:

  • project_id (integer, required) — The project ID.
  • string_id (integer, optional) — Filter by source string ID.
  • language_id (integer, optional) — Filter by language ID.
  • limit (integer, optional) — Maximum number of translations to return (default 25).
  • offset (integer, optional) — Pagination offset (default 0).

crowdin_list_languages

List supported languages.

Parameters:

  • limit (integer, optional) — Maximum number of languages to return (default 25).
  • offset (integer, optional) — Pagination offset (default 0).

crowdin_get_current_user

Get the currently authenticated user.

Parameters: None.

Raw agent markdown
# Crowdin Integration

## Tools

### crowdin_list_projects
List Crowdin projects.

**Parameters:**
- `group_id` (integer, optional) — Filter projects by group ID.
- `limit` (integer, optional) — Maximum number of projects to return (max 500, default 25).
- `offset` (integer, optional) — Pagination offset (default 0).

### crowdin_get_project
Get details of a specific project.

**Parameters:**
- `project_id` (integer, required) — The project ID.

### crowdin_list_strings
List source strings in a project.

**Parameters:**
- `project_id` (integer, required) — The project ID.
- `file_id` (integer, optional) — Filter by file ID.
- `branch_id` (integer, optional) — Filter by branch ID.
- `limit` (integer, optional) — Maximum number of strings to return (default 25).
- `offset` (integer, optional) — Pagination offset (default 0).

### crowdin_get_string
Get details of a specific source string.

**Parameters:**
- `project_id` (integer, required) — The project ID.
- `string_id` (integer, required) — The string ID.

### crowdin_list_translations
List translations in a project.

**Parameters:**
- `project_id` (integer, required) — The project ID.
- `string_id` (integer, optional) — Filter by source string ID.
- `language_id` (integer, optional) — Filter by language ID.
- `limit` (integer, optional) — Maximum number of translations to return (default 25).
- `offset` (integer, optional) — Pagination offset (default 0).

### crowdin_list_languages
List supported languages.

**Parameters:**
- `limit` (integer, optional) — Maximum number of languages to return (default 25).
- `offset` (integer, optional) — Pagination offset (default 0).

### crowdin_get_current_user
Get the currently authenticated user.

**Parameters:** None.

Metadata-Derived Lua Example

local result = app.integrations.crowdin.crowdin_list_projects({
  group_id = 1,
  limit = 1,
  offset = 1
})
print(result)

Functions

crowdin_list_projects

List Crowdin projects. Returns project IDs, names, target languages, and other metadata. Supports pagination and filtering by group.

Operation
Read read
Full name
crowdin.crowdin_list_projects
ParameterTypeRequiredDescription
group_id integer no Filter projects by group ID.
limit integer no Maximum number of projects to return (max 500, default 25).
offset integer no Pagination offset (default 0).

crowdin_get_project

Get details of a specific Crowdin project by ID. Returns project name, description, source/target languages, and other settings.

Operation
Read read
Full name
crowdin.crowdin_get_project
ParameterTypeRequiredDescription
project_id integer yes The project ID.

crowdin_list_strings

List source strings in a Crowdin project. Returns string IDs, text, context, and file associations. Supports filtering by file or branch.

Operation
Read read
Full name
crowdin.crowdin_list_strings
ParameterTypeRequiredDescription
project_id integer yes The project ID.
file_id integer no Filter strings by file ID.
branch_id integer no Filter strings by branch ID.
limit integer no Maximum number of strings to return (default 25).
offset integer no Pagination offset (default 0).

crowdin_get_string

Get details of a specific source string in a Crowdin project. Returns string text, context, file path, and other metadata.

Operation
Read read
Full name
crowdin.crowdin_get_string
ParameterTypeRequiredDescription
project_id integer yes The project ID.
string_id integer yes The string ID.

crowdin_list_translations

List translations in a Crowdin project. Returns translated text, language info, and approval status. Supports filtering by string or language.

Operation
Read read
Full name
crowdin.crowdin_list_translations
ParameterTypeRequiredDescription
project_id integer yes The project ID.
string_id integer no Filter translations by source string ID.
language_id integer no Filter translations by language ID.
limit integer no Maximum number of translations to return (default 25).
offset integer no Pagination offset (default 0).

crowdin_list_languages

List languages supported by Crowdin. Returns language IDs, locale codes (e.g., "en", "de", "fr"), names, and text direction.

Operation
Read read
Full name
crowdin.crowdin_list_languages
ParameterTypeRequiredDescription
limit integer no Maximum number of languages to return (default 25).
offset integer no Pagination offset (default 0).

crowdin_get_current_user

Get the currently authenticated Crowdin user profile. Returns username, email, display name, and avatar URL.

Operation
Read read
Full name
crowdin.crowdin_get_current_user
ParameterTypeRequiredDescription
No parameters.