MCPcopy Create free account
hub / github.com/EvoMap/evolver / listMyTasks

Function listMyTasks

src/atp/hubClient.js:295–302  ·  view source on GitHub ↗

* GET /a2a/task/my?node_id=... -- list this node's claimed tasks * * ATP-originated tasks include an `atp_order_id` field on each task so the * merchant side can pair a completed task with its DeliveryProof and call * submitDelivery. Non-ATP tasks simply omit the field. This is NOT an * /atp/*

(limit)

Source from the content-addressed store, hash-verified

293 * @param {number} [limit]
294 */
295function listMyTasks(limit) {
296 const nid = getNodeId();
297 const params = new URLSearchParams();
298 params.set('node_id', nid);
299 if (limit) params.set('limit', String(limit));
300 const suffix = '/a2a/task/my?' + params.toString();
301 return _hubGet(suffix);
302}
303
304module.exports = {
305 placeOrder,

Callers

nothing calls this directly

Calls 1

_hubGetFunction · 0.85

Tested by

no test coverage detected