MCPcopy Create free account
hub / github.com/modelcontextprotocol/inspector / listTasks

Function listTasks

client/src/lib/hooks/useConnection.ts:1170–1178  ·  view source on GitHub ↗
(cursor?: string)

Source from the content-addressed store, hash-verified

1168 };
1169
1170 const listTasks = async (cursor?: string) => {
1171 return makeRequest(
1172 {
1173 method: "tasks/list",
1174 params: { cursor },
1175 },
1176 ListTasksResultSchema,
1177 );
1178 };
1179
1180 const disconnect = async () => {
1181 // Clear any receiver-side tasks + cleanup timers

Callers 2

AppFunction · 0.85
callToolFunction · 0.85

Calls 1

makeRequestFunction · 0.85

Tested by

no test coverage detected