add_participants
Add participants to a LimeSurvey survey by providing survey ID and participant data to populate your study or research.
Instructions
Add participants to a LimeSurvey survey.
Args:
sid: The survey ID.
participant_data: The participant data.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | Yes | ||
| participant_data | Yes |
Implementation Reference
- main.py:558-570 (handler)The handler function for the 'add_participants' MCP tool. It is decorated with @mcp.tool() for registration and executes the tool logic by adding participants to a LimeSurvey survey using the client.@mcp.tool() def add_participants( sid: int, participant_data: list[dict[str, Any]] ) -> list[dict[str, Any]]: """Add participants to a LimeSurvey survey. Args: sid: The survey ID. participant_data: The participant data. """ with get_client() as client: return client.add_participants(sid, participant_data)