set_participant_properties
Update participant properties in LimeSurvey using token, survey ID, and custom attributes. Streamline survey management by modifying participant details directly.
Instructions
Set LimeSurvey participant properties.
Args:
token: The participant token.
sid: The survey ID.
properties: The properties to set.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| properties | Yes | ||
| sid | Yes | ||
| token | Yes |
Implementation Reference
- main.py:597-608 (handler)The handler function that implements the set_participant_properties tool. It uses the citric Client to set the properties of a participant identified by token in the specified survey.def set_participant_properties( token: str, sid: int, properties: dict[str, Any] ) -> bool: """Set LimeSurvey participant properties. Args: token: The participant token. sid: The survey ID. properties: The properties to set. """ with get_client() as client: return client.set_participant_properties(token, sid, properties)
- main.py:596-596 (registration)The @mcp.tool() decorator registers the set_participant_properties function as an MCP tool.@mcp.tool()