Skip to content

Commit bd2ea27

Browse files
Chathurangi ShyalikaChathurangi Shyalika
authored andcommitted
Updating iot agent tools to filter assets and add description
Signed-off-by: Chathurangi Shyalika <chathurangishyalika@Chathurangis-MacBook-Pro.local>
1 parent 4fa1561 commit bd2ea27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/servers/iot/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def asset_sensors(
410410

411411
@mcp.tool(title="List Registry Assets")
412412
def registry_assets(
413-
site_name: Optional[str] = None, assettype: Optional[str] = None
413+
site_name: str, assettype: Optional[str] = None
414414
) -> Union[RegistryAssetsResult, ErrorResult]:
415415
"""List assets from the registry with metadata (assettype, vintage, sensor count), optionally
416416
filtered by assettype (e.g. 'PUMP', 'COMPRESSOR'). Complements assets(), which returns bare ids derived from

0 commit comments

Comments
 (0)