get_system_status
Retrieve Domoticz system status including version and build time to check instance health.
Instructions
Get the status of the Domoticz instance (version, build time, etc).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/domoticz_mcp/server.py:808-813 (handler)The MCP tool handler for 'get_system_status'. It fetches the Domoticz system version and build time by calling the getversion API endpoint and returns the raw response.
@mcp.tool() async def get_system_status() -> str: """Get the status of the Domoticz instance (version, build time, etc).""" async with create_client() as client: response = await _do_request(client, "GET", f"{DOMOTICZ_API_URL}?type=command¶m=getversion") return response.text - src/domoticz_mcp/server.py:808-809 (registration)The tool is registered via the @mcp.tool() decorator on the async function get_system_status.
@mcp.tool() async def get_system_status() -> str: