MCPcopy Index your code
hub / github.com/codeaashu/claude-code / call

Function call

src/tools/TaskGetTool/TaskGetTool.ts:73–98  ·  view source on GitHub ↗
({ taskId })

Source from the content-addressed store, hash-verified

71 return null
72 },
73 async call({ taskId }) {
74 const taskListId = getTaskListId()
75
76 const task = await getTask(taskListId, taskId)
77
78 if (!task) {
79 return {
80 data: {
81 task: null,
82 },
83 }
84 }
85
86 return {
87 data: {
88 task: {
89 id: task.id,
90 subject: task.subject,
91 description: task.description,
92 status: task.status,
93 blocks: task.blocks,
94 blockedBy: task.blockedBy,
95 },
96 },
97 }
98 },
99 mapToolResultToToolResultBlockParam(content, toolUseID) {
100 const { task } = content as Output
101 if (!task) {

Callers

nothing calls this directly

Calls 2

getTaskListIdFunction · 0.85
getTaskFunction · 0.85

Tested by

no test coverage detected