set_question_properties
Configure question settings in LimeSurvey surveys by specifying properties like formatting, validation, or display options to customize survey questions.
Instructions
Set LimeSurvey question properties.
Args:
qid: The question ID.
properties: The properties to set.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qid | Yes | ||
| properties | Yes |
Implementation Reference
- main.py:497-506 (handler)The handler function for the 'set_question_properties' MCP tool, registered via the @mcp.tool() decorator. It uses the LimeSurvey client to set properties for a given question ID.@mcp.tool() def set_question_properties(qid: int, properties: dict[str, Any]) -> bool: """Set LimeSurvey question properties. Args: qid: The question ID. properties: The properties to set. """ with get_client() as client: return client.set_question_properties(qid, properties)