activate_survey
Activate a LimeSurvey survey by specifying its unique survey ID using the MCP client integration for efficient survey management.
Instructions
Activate a LimeSurvey survey.
Args:
sid: The survey ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | Yes |
Implementation Reference
- main.py:402-411 (handler)The handler function for the 'activate_survey' tool. It uses the LimeSurvey client to activate a survey given its ID (sid). The @mcp.tool() decorator registers it as an MCP tool.@mcp.tool() def activate_survey(sid: int) -> bool: """Activate a LimeSurvey survey. Args: sid: The survey ID. """ with get_client() as client: return client.activate_survey(sid)