set_quota_properties
Configure quota properties in LimeSurvey by specifying the quota ID and desired properties to manage survey response limits effectively.
Instructions
Set LimeSurvey quota properties.
Args:
id: The quota ID.
properties: The properties to set.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| properties | Yes |
Implementation Reference
- main.py:657-666 (handler)The handler function for the 'set_quota_properties' MCP tool, decorated with @mcp.tool() for registration. It uses a client to set the quota properties for the given ID.@mcp.tool() def set_quota_properties(id: int, properties: dict[str, Any]) -> bool: """Set LimeSurvey quota properties. Args: id: The quota ID. properties: The properties to set. """ with get_client() as client: return client.set_quota_properties(id, properties)
- main.py:657-657 (registration)The @mcp.tool() decorator registers the set_quota_properties function as an MCP tool.@mcp.tool()
- main.py:658-663 (schema)The function signature and docstring define the input schema (id: int, properties: dict[str, Any]) and output (bool) for the tool.def set_quota_properties(id: int, properties: dict[str, Any]) -> bool: """Set LimeSurvey quota properties. Args: id: The quota ID. properties: The properties to set.