MCPcopy
hub / github.com/shareAI-lab/learn-claude-code / get_task

Function get_task

s12_task_system/code.py:93–96  ·  view source on GitHub ↗

Return full task details as JSON.

(task_id: str)

Source from the content-addressed store, hash-verified

91
92
93def get_task(task_id: str) -> str:
94 """Return full task details as JSON."""
95 task = load_task(task_id)
96 return json.dumps(asdict(task), indent=2)
97
98
99def can_start(task_id: str) -> bool:

Callers 1

run_get_taskFunction · 0.70

Calls 1

load_taskFunction · 0.70

Tested by

no test coverage detected