MCPcopy Create free account
hub / github.com/agi-inc/agent-protocol / get_agent_task

Function get_agent_task

packages/sdk/python/agent_protocol/agent.py:73–77  ·  view source on GitHub ↗

Get details about a specified agent task.

(task_id: str)

Source from the content-addressed store, hash-verified

71
72@base_router.get("/ap/v1/agent/tasks/{task_id}", response_model=Task, tags=["agent"])
73async def get_agent_task(task_id: str) -> Task:
74 """
75 Get details about a specified agent task.
76 """
77 return await Agent.db.get_task(task_id)
78
79
80@base_router.get(

Callers

nothing calls this directly

Calls 1

get_taskMethod · 0.45

Tested by

no test coverage detected