MCPcopy
hub / github.com/openai/plugins / artifact_entry

Function artifact_entry

plugins/ngs-analysis/scripts/ngs_visualization_utils.py:106–124  ·  view source on GitHub ↗
(
    *,
    artifact_id: str,
    title: str,
    path: str | Path | None,
    kind: str,
    status: str,
    description: str,
    source: str | None = None,
)

Source from the content-addressed store, hash-verified

104
105
106def artifact_entry(
107 *,
108 artifact_id: str,
109 title: str,
110 path: str | Path | None,
111 kind: str,
112 status: str,
113 description: str,
114 source: str | None = None,
115) -> dict[str, Any]:
116 return {
117 "id": artifact_id,
118 "title": title,
119 "path": str(path) if path else None,
120 "kind": kind,
121 "status": status,
122 "description": description,
123 "source": source,
124 }
125
126
127def copy_visual_asset(source: Path, dest: Path) -> Path | None:

Callers 15

write_visualsFunction · 0.90
write_visualsFunction · 0.90
resource_visual_entriesFunction · 0.90
write_visualsFunction · 0.90
write_visualsFunction · 0.90
generate_visualizationsFunction · 0.90
write_visualsFunction · 0.90
write_visualsFunction · 0.90
generate_visualizationsFunction · 0.90
write_visualsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected