delete_participants
Remove survey participants by specifying their tokens and survey ID to manage participant data in LimeSurvey.
Instructions
Delete participants from a LimeSurvey survey.
Args:
sid: The survey ID.
tokens: The participant tokens.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | Yes | ||
| tokens | Yes |
Implementation Reference
- main.py:572-582 (handler)The handler function for the 'delete_participants' MCP tool. It is registered with @mcp.tool() decorator and executes the deletion by calling the underlying LimeSurvey client method.@mcp.tool() def delete_participants(sid: int, tokens: list[str]) -> bool: """Delete participants from a LimeSurvey survey. Args: sid: The survey ID. tokens: The participant tokens. """ with get_client() as client: return client.delete_participants(sid, tokens)