activate_survey
Activate a LimeSurvey survey by providing its survey ID to make it available for respondents to access and complete.
Instructions
Activate a LimeSurvey survey.
Args:
sid: The survey ID.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sid": "<sid>"
},
"name": "activate_survey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | Yes |
Implementation Reference
- main.py:402-410 (handler)The handler function for the 'activate_survey' MCP tool. It uses the LimeSurvey client to activate the survey identified by sid.
@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)