INNER CODE UNIT · Python
load_parameter_catalog
viticci/shortcuts-playground-plugin · claude/skills/shortcuts-playground/scripts/lookup_action_grounding.py:89
def load_parameter_catalog(base: Path | None = None) -> dict[str, Any]:
path = parameter_catalog_path(base)
if not path.exists():
return {"tools": {}}
with path.open("r", encoding="utf-8") as handle:
return json.load(handle)
def load_enum_catalog(base: Path | None = None) -> dict[str, Any]:
path = enum_catalog_path(base)
if not path.exists():
return {"types": {}}
with path.open("r", encoding="utf-8") as handle:
return json.load(handle)
def load_trigger_catalog(base: Path | None = None) -> dict[str, Any]:
path = trigger_catalog_path(base)