add_language
Add a supported language to a specific LimeSurvey survey by providing the survey ID and language code for expanded multilingual functionality.
Instructions
Add a language to a LimeSurvey survey.
Args:
sid: The survey ID.
language: The language code.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | Yes | ||
| sid | Yes |
Implementation Reference
- main.py:522-532 (handler)The handler function for the 'add_language' tool. It is registered via @mcp.tool() decorator and implements the logic to add a language to a specified LimeSurvey survey by delegating to the citric Client.@mcp.tool() def add_language(sid: int, language: str) -> bool: """Add a language to a LimeSurvey survey. Args: sid: The survey ID. language: The language code. """ with get_client() as client: return client.add_language(sid, language)