MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / source_add

Method source_add

tests/utils/api_client.py:606–609  ·  view source on GitHub ↗

Add a new source (Commercial only). Returns the new sourceId.

(self)

Source from the content-addressed store, hash-verified

604 return result.get("sources", [])
605
606 def source_add(self) -> int:
607 """Add a new source (Commercial only). Returns the new sourceId."""
608 result = self.command("project.source.add")
609 return result.get("sourceId", -1)
610
611 def source_delete(self, source_id: int) -> None:
612 """Delete a source by ID (Commercial only; sourceId >= 1)."""

Calls 2

commandMethod · 0.95
getMethod · 0.45