@webhooks-cc/mcp 1.23.0 → 1.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -480,7 +480,7 @@ var import_zod3 = require("zod");
480
480
  var import_sdk2 = require("@webhooks-cc/sdk");
481
481
 
482
482
  // src/version.ts
483
- var VERSION = true ? "1.23.0" : "0.0.0-dev";
483
+ var VERSION = true ? "1.24.0" : "0.0.0-dev";
484
484
  var MCP_USER_AGENT = `webhooks-cc-mcp/${VERSION}`;
485
485
 
486
486
  // src/tools.ts
@@ -745,6 +745,14 @@ ${JSON.stringify(result, null, 2)}`;
745
745
  if (typeof result.url === "string") {
746
746
  return `Approved. The share link is ${result.url} (anyone with it can read the copy until ${String(result.expiresAt)}).`;
747
747
  }
748
+ if (typeof result.invitedEmail === "string") {
749
+ const team = typeof result.teamName === "string" ? ` to "${result.teamName}"` : "";
750
+ const warning = typeof result.warning === "string" ? ` ${result.warning} Tell them to sign up with that address and accept from their Teams page.` : " They get an email; accepting claims one of the team's seats.";
751
+ return `Approved. Invited ${result.invitedEmail}${team} (invite ${String(result.id)}).${warning}`;
752
+ }
753
+ if (typeof result.deleted === "string" && typeof result.teamId === "string") {
754
+ return `Approved. The team ${result.deleted ? `"${result.deleted}" ` : ""}was deleted; its subscription has ended.`;
755
+ }
748
756
  if (typeof result.removed === "string") {
749
757
  return `Approved. The domain ${result.removed} was removed; mail to it is refused now.`;
750
758
  }
@@ -819,6 +827,75 @@ function fitArrayField(value, key) {
819
827
  }
820
828
  return cut(low);
821
829
  }
830
+ function isoTime(ms) {
831
+ if (ms === null || !Number.isFinite(ms)) return null;
832
+ const date = new Date(ms);
833
+ return Number.isNaN(date.getTime()) ? null : date.toISOString();
834
+ }
835
+ function searchStoppedNote(searchedUntil, order, hasCursor) {
836
+ const [direction, rest] = order === "asc" ? ["forward", "newer"] : ["back", "older"];
837
+ const reached = searchedUntil ? `Searched ${direction} to ${searchedUntil}; ${rest} requests were not searched yet.` : `The search stopped before it read everything; ${rest} requests were not searched yet.`;
838
+ return hasCursor ? `${reached} Call search_requests again with cursor to continue.` : reached;
839
+ }
840
+ var FULL_REQUEST_HINT = "The full request is available from the API (GET /api/requests/{id}), the SDKs (requests.get(id)) or the CLI (whk requests get <id>).";
841
+ var SEARCH_SHORTENED_NOTE = `Some requests were shortened to fit the output (bodyTruncated with bodySize, or shortened: true for a summary); get_request with the id returns as much of one request as fits. ${FULL_REQUEST_HINT}`;
842
+ var REQUEST_SHORTENED_NOTE = `This request was cut to fit the output: its body (bodyTruncated, with bodySize), or everything but a summary (shortened: true). ${FULL_REQUEST_HINT}`;
843
+ function clip(value, max) {
844
+ return typeof value === "string" ? sliceText(value, max) : void 0;
845
+ }
846
+ function listedSize(request) {
847
+ return jsonSize([[request]]) - 8;
848
+ }
849
+ function fitSearchRequests(requests, room) {
850
+ const share = Math.floor(room / Math.max(1, requests.length));
851
+ const fitted = requests.map(
852
+ (request) => shortenRequest(request, share, listedSize)
853
+ );
854
+ if (fitted.every((request) => listedSize(request) <= share)) return fitted;
855
+ return requests.map((request) => {
856
+ const { id, receivedAt } = request;
857
+ return { id, receivedAt, shortened: true };
858
+ });
859
+ }
860
+ function shortenRequest(request, share, sizeOf) {
861
+ if (sizeOf(request) <= share) return request;
862
+ if (typeof request.body === "string") {
863
+ const body = request.body;
864
+ let keep = body.length - (sizeOf(request) - share) - 96;
865
+ while (keep > 0) {
866
+ const cut = {
867
+ ...request,
868
+ body: sliceText(body, keep),
869
+ bodyTruncated: true,
870
+ bodySize: body.length
871
+ };
872
+ if (sizeOf(cut) <= share) return cut;
873
+ keep = Math.floor(keep / 2);
874
+ }
875
+ }
876
+ const email = request.email;
877
+ const summary = {
878
+ id: request.id,
879
+ slug: clip(request.slug, 64),
880
+ method: clip(request.method, 16),
881
+ path: clip(request.path, 200),
882
+ contentType: clip(request.contentType, 100),
883
+ size: request.size,
884
+ receivedAt: request.receivedAt,
885
+ kind: request.kind,
886
+ ...email ? { subject: clip(email.subject, 200) } : {},
887
+ shortened: true,
888
+ ...typeof request.note === "string" ? { note: request.note } : {}
889
+ };
890
+ return summary;
891
+ }
892
+ function requestContent(request) {
893
+ const compact = compactRequest(request);
894
+ if (jsonSize(compact) <= MAX_BODY_SIZE) return jsonContent(compact);
895
+ return jsonContent(
896
+ shortenRequest({ ...compact, note: REQUEST_SHORTENED_NOTE }, MAX_BODY_SIZE, jsonSize)
897
+ );
898
+ }
822
899
  function jsonContent(value) {
823
900
  return textContent(serializeJson(value));
824
901
  }
@@ -863,6 +940,13 @@ function serializeError(error) {
863
940
  } else if (error instanceof import_sdk.WebhooksCCError) {
864
941
  payload.code = error.statusCode >= 500 ? "server_error" : "validation_error";
865
942
  }
943
+ if (error instanceof import_sdk.WebhooksCCError && payload.hint === null) {
944
+ if (error.code === "invalid_cursor") {
945
+ payload.hint = "The cursor is not one this search returned, or the order changed since. Pass a cursor exactly as a result gave it, or search again without one.";
946
+ } else if (error.code === "search_busy") {
947
+ payload.hint = "The account's other searches are still running. Wait retryAfter seconds, then call again with the same inputs.";
948
+ }
949
+ }
866
950
  return JSON.stringify(payload, null, 2);
867
951
  }
868
952
  function withErrorHandling(handler) {
@@ -1314,6 +1398,124 @@ function registerTools(target, client, options = {}) {
1314
1398
  return jsonContent({ shared: false, slug, teamId });
1315
1399
  })
1316
1400
  );
1401
+ server.tool(
1402
+ "create_team",
1403
+ "Create a team you own, to share endpoints with its members under a pooled quota. It does nothing until it has a subscription, which the person starts in the browser (Account > Teams); until then it is suspended.",
1404
+ { name: import_zod2.z.string().trim().min(1).max(100).describe("The team's name") },
1405
+ withErrorHandling(async ({ name }) => jsonContent(await client.teams.create(name)))
1406
+ );
1407
+ server.tool(
1408
+ "rename_team",
1409
+ "Rename a team you own.",
1410
+ {
1411
+ teamId: import_zod2.z.string().min(1).describe("Team id (from list_teams)"),
1412
+ name: import_zod2.z.string().trim().min(1).max(100).describe("The new name")
1413
+ },
1414
+ withErrorHandling(async ({ teamId, name }) => {
1415
+ await client.teams.rename(teamId, name);
1416
+ return jsonContent({ renamed: true, teamId, name });
1417
+ })
1418
+ );
1419
+ server.tool(
1420
+ "delete_team",
1421
+ "Delete a team you own: its subscription ends at once, every member loses the endpoints shared with it, and it cannot be undone. Only when the person asks for it. The team's owner must approve it: this returns a link and a code to show them, then call wait_for_approval.",
1422
+ { teamId: import_zod2.z.string().min(1).describe("Team id (from list_teams)") },
1423
+ withErrorHandling(async ({ teamId }) => {
1424
+ const pending = await client.teams.delete(teamId);
1425
+ if (!pending.id) return textContent(`Deleted the team ${teamId}.`);
1426
+ return textContent(approvalAskText(pending));
1427
+ })
1428
+ );
1429
+ server.tool(
1430
+ "remove_team_member",
1431
+ "Remove a member from a team you own: the endpoints they shared with the team stop being shared, and their seat is free for someone else. Only when the person asks for it.",
1432
+ {
1433
+ teamId: import_zod2.z.string().min(1).describe("Team id (from list_teams)"),
1434
+ userId: import_zod2.z.string().min(1).describe("The member's userId (from list_team_members)")
1435
+ },
1436
+ withErrorHandling(async ({ teamId, userId }) => {
1437
+ await client.teams.removeMember(teamId, userId);
1438
+ return jsonContent({ removed: true, teamId, userId });
1439
+ })
1440
+ );
1441
+ server.tool(
1442
+ "leave_team",
1443
+ "Leave a team you belong to: the endpoints you shared with it stop being shared, and you lose access to the ones shared with you through it. An owner cannot leave; they delete the team instead (delete_team). Only when the person asks for it.",
1444
+ { teamId: import_zod2.z.string().min(1).describe("Team id (from list_teams)") },
1445
+ withErrorHandling(async ({ teamId }) => {
1446
+ await client.teams.leave(teamId);
1447
+ return jsonContent({ left: true, teamId });
1448
+ })
1449
+ );
1450
+ server.tool(
1451
+ "invite_to_team",
1452
+ "Invite an email address to a team you own. It emails that address, so the team's owner must approve it: this returns a link and a code to show them, then call wait_for_approval, which returns the invite. Accepting the invite claims one of the team's paid seats. Only when the person asks for it.",
1453
+ {
1454
+ teamId: import_zod2.z.string().min(1).describe("Team id (from list_teams)"),
1455
+ email: import_zod2.z.string().trim().email().describe("The address to invite")
1456
+ },
1457
+ withErrorHandling(async ({ teamId, email }) => {
1458
+ const pending = await client.teams.invite(teamId, email);
1459
+ if (!pending.id) return textContent(approvalResultText({ ...await pending.wait() }));
1460
+ return textContent(approvalAskText(pending));
1461
+ })
1462
+ );
1463
+ server.tool(
1464
+ "list_invites",
1465
+ "List the team invites waiting for you to answer: team, who invited you, when, and the invite id for answer_invite.",
1466
+ {},
1467
+ withErrorHandling(async () => jsonContent(await client.teams.invites.list()))
1468
+ );
1469
+ server.tool(
1470
+ "answer_invite",
1471
+ "Accept or decline a team invite waiting for you (from list_invites). Accepting claims one of the team's paid seats and you join the team, seeing the endpoints shared with it; it fails when the team is full or suspended. Only when the person says which.",
1472
+ {
1473
+ inviteId: import_zod2.z.string().min(1).describe("The invite's id, from list_invites"),
1474
+ answer: import_zod2.z.enum(["accept", "decline"]).describe("accept joins the team; decline turns it down")
1475
+ },
1476
+ withErrorHandling(async ({ inviteId, answer }) => {
1477
+ if (answer === "accept") {
1478
+ await client.teams.invites.accept(inviteId);
1479
+ return jsonContent({ accepted: true, inviteId });
1480
+ }
1481
+ await client.teams.invites.decline(inviteId);
1482
+ return jsonContent({ declined: true, inviteId });
1483
+ })
1484
+ );
1485
+ server.tool(
1486
+ "withdraw_invite",
1487
+ "Withdraw an invite to a team you own before it is answered (pending invites and their ids are in list_team_members). The invite link stops working.",
1488
+ {
1489
+ teamId: import_zod2.z.string().min(1).describe("Team id (from list_teams)"),
1490
+ inviteId: import_zod2.z.string().min(1).describe("The invite's id (from list_team_members' pendingInvites)")
1491
+ },
1492
+ withErrorHandling(async ({ teamId, inviteId }) => {
1493
+ await client.teams.withdrawInvite(teamId, inviteId);
1494
+ return jsonContent({ withdrawn: true, teamId, inviteId });
1495
+ })
1496
+ );
1497
+ server.tool(
1498
+ "quote_team_change",
1499
+ "What changing a team's seat count or plan would cost, read only (owner only): what is due now, any credit, and the price from the renewal. Give seats, or plan (with interval). The change itself is made by the person in the browser.",
1500
+ {
1501
+ teamId: import_zod2.z.string().min(1).describe("Team id (from list_teams)"),
1502
+ seats: import_zod2.z.number().int().min(1).optional().describe("Price this seat count"),
1503
+ plan: import_zod2.z.enum(["team", "team_business"]).optional().describe("Price a move to this plan: team (Teams) or team_business (Team Business)"),
1504
+ interval: import_zod2.z.enum(["month", "year"]).optional().describe("Billing interval for plan (default month; Teams is monthly only)")
1505
+ },
1506
+ withErrorHandling(async ({ teamId, seats, plan, interval }) => {
1507
+ if (seats === void 0 === (plan === void 0)) {
1508
+ throw new Error("Give seats or plan, not both.");
1509
+ }
1510
+ if (seats !== void 0) {
1511
+ if (interval !== void 0) throw new Error("interval goes with plan, not seats.");
1512
+ return jsonContent(await client.billing.quoteTeamSeats(teamId, seats));
1513
+ }
1514
+ return jsonContent(
1515
+ await client.billing.quoteTeamPlan(teamId, plan, interval)
1516
+ );
1517
+ })
1518
+ );
1317
1519
  server.tool(
1318
1520
  "get_endpoint",
1319
1521
  "Get details for a specific webhook endpoint by slug.",
@@ -1407,6 +1609,35 @@ function registerTools(target, client, options = {}) {
1407
1609
  return jsonContent(holder);
1408
1610
  })
1409
1611
  );
1612
+ server.tool(
1613
+ "list_layout_templates",
1614
+ "List the ready-made email layouts (order emails from Shopify, WooCommerce, Etsy and more, payments, bookings, attachments): each with its id, sender, kind, description, the fields it reads and whether it reads line items. Add one with add_layout_template.",
1615
+ { slug: import_zod2.z.string().describe("The endpoint slug") },
1616
+ withErrorHandling(async ({ slug }) => jsonContent(await client.endpoints.layoutTemplates(slug)))
1617
+ );
1618
+ server.tool(
1619
+ "add_layout_template",
1620
+ "Add a ready-made layout (an id from list_layout_templates) to the end of an endpoint's layouts. Emails it matches are parsed from the next one on; check it on a captured email with preview_layouts. Owner only.",
1621
+ {
1622
+ slug: import_zod2.z.string().describe("The endpoint slug"),
1623
+ template: import_zod2.z.string().min(1).describe("The template's id, from list_layout_templates")
1624
+ },
1625
+ withErrorHandling(
1626
+ async ({ slug, template }) => jsonContent(await client.endpoints.addLayoutTemplate(slug, template))
1627
+ )
1628
+ );
1629
+ server.tool(
1630
+ "preview_email_fields",
1631
+ "Dry run of an endpoint's named email fields on a captured email: each field's value (null where it finds nothing), and problems with fields you pass. Nothing is saved. Pass emailFields to try fields before saving them with update_endpoint. Owner only.",
1632
+ {
1633
+ slug: import_zod2.z.string().describe("The endpoint slug"),
1634
+ requestId: import_zod2.z.string().optional().describe("A captured email on the endpoint (default: the newest)"),
1635
+ emailFields: import_zod2.z.array(emailFieldSchema).max(20).optional().describe("Unsaved fields to try instead of the saved ones")
1636
+ },
1637
+ withErrorHandling(
1638
+ async ({ slug, requestId, emailFields }) => jsonContent(await client.endpoints.previewEmailFields(slug, { requestId, emailFields }))
1639
+ )
1640
+ );
1410
1641
  server.tool(
1411
1642
  "preview_response",
1412
1643
  "Dry run of an endpoint's responses: which response rule answers a captured request, and the response with its {{ placeholders }} filled in, exactly as the receiver would send it. Nothing is sent. Pass mockResponse or responseRules to try settings before saving them with update_endpoint.",
@@ -1542,56 +1773,95 @@ function registerTools(target, client, options = {}) {
1542
1773
  );
1543
1774
  server.tool(
1544
1775
  "search_requests",
1545
- "Search captured webhook requests across endpoints using retained full-text search.",
1776
+ "Search captured requests and emails across endpoints: a substring match on path, headers, body and decoded email fields. One call reads back through history for about 2 seconds and returns { requests, complete, searchedUntil, cursor }. When complete is false, older requests were not searched yet: call again with the cursor and the same filters to continue.",
1546
1777
  {
1547
1778
  slug: import_zod2.z.string().optional().describe("Filter to a specific endpoint slug"),
1548
1779
  method: import_zod2.z.string().optional().describe("Filter by HTTP method"),
1549
1780
  kind: kindSchema,
1550
- q: import_zod2.z.string().optional().describe("Free-text search across path, body, and headers"),
1551
- from: durationOrTimestampSchema.optional().describe('Start time as a timestamp or duration like "1h" or "7d"'),
1552
- to: durationOrTimestampSchema.optional().describe('End time as a timestamp or duration like "1h" or "7d"'),
1781
+ q: import_zod2.z.string().optional().describe(
1782
+ "Substring to find in the path, headers, body and decoded email fields (up to 1,000 characters)"
1783
+ ),
1784
+ from: durationOrTimestampSchema.optional().describe(
1785
+ 'Start time as a timestamp (Unix ms) or a duration back from now like "1h" or "7d". A duration is counted from each call, so when you continue with a cursor pass a timestamp to keep the same range.'
1786
+ ),
1787
+ to: durationOrTimestampSchema.optional().describe(
1788
+ 'End time as a timestamp (Unix ms) or a duration back from now like "1h" or "7d". A duration is counted from each call, so when you continue with a cursor pass a timestamp to keep the same range.'
1789
+ ),
1553
1790
  limit: import_zod2.z.number().int().min(1).max(200).default(50).describe("Max results to return"),
1554
- offset: import_zod2.z.number().int().min(0).max(1e4).default(0).describe("Result offset"),
1555
- order: import_zod2.z.enum(["asc", "desc"]).default("desc").describe("Sort order by received time")
1791
+ offset: import_zod2.z.number().int().min(0).max(1e4).default(0).describe("Matches to skip (first call only; a cursor carries what is left of it)"),
1792
+ order: import_zod2.z.enum(["asc", "desc"]).default("desc").describe("Sort order by received time"),
1793
+ cursor: import_zod2.z.string().optional().describe(
1794
+ "The cursor from a previous search_requests result, to continue that search. Keep the other inputs the same."
1795
+ )
1556
1796
  },
1557
- withErrorHandling(async ({ slug, method, kind, q, from, to, limit, offset, order }) => {
1558
- const results = await client.requests.search({
1559
- slug,
1560
- method,
1561
- kind,
1562
- q,
1563
- from,
1564
- to,
1565
- limit,
1566
- offset,
1567
- order
1568
- });
1569
- return jsonContent(results.map(compactRequest));
1797
+ withErrorHandling(async ({ slug, method, kind, q, from, to, limit, offset, order, cursor }) => {
1798
+ const page = await client.requests.searchPage(
1799
+ { slug, method, kind, q, from, to, limit, offset, order },
1800
+ { cursor }
1801
+ );
1802
+ const searchedUntil = isoTime(page.searchedUntil);
1803
+ const envelope = (requests2, shortened) => {
1804
+ const notes = [
1805
+ ...page.complete ? [] : [searchStoppedNote(searchedUntil, order, Boolean(page.cursor))],
1806
+ ...shortened ? [SEARCH_SHORTENED_NOTE] : []
1807
+ ];
1808
+ return {
1809
+ requests: requests2,
1810
+ complete: page.complete,
1811
+ searchedUntil,
1812
+ cursor: page.cursor,
1813
+ ...notes.length > 0 ? { note: notes.join(" ") } : {}
1814
+ };
1815
+ };
1816
+ const requests = page.requests.map(compactRequest);
1817
+ if (jsonSize(envelope(requests, false)) <= MAX_BODY_SIZE) {
1818
+ return jsonContent(envelope(requests, false));
1819
+ }
1820
+ const room = MAX_BODY_SIZE - jsonSize(envelope([], true)) - 8;
1821
+ return jsonContent(envelope(fitSearchRequests(requests, room), true));
1570
1822
  })
1571
1823
  );
1572
1824
  server.tool(
1573
1825
  "count_requests",
1574
- "Count captured webhook requests that match the given filters.",
1826
+ "Count captured requests and emails that match the given filters (q is a substring match on path, headers, body and decoded email fields). Returns { count, exact, searchedUntil, cursor }. With q or method a call counts back through history for about 2 seconds: when exact is false, count covers history back to searchedUntil only, and calling again with the cursor counts the next stretch (add the counts up).",
1575
1827
  {
1576
1828
  slug: import_zod2.z.string().optional().describe("Filter to a specific endpoint slug"),
1577
1829
  method: import_zod2.z.string().optional().describe("Filter by HTTP method"),
1578
1830
  kind: kindSchema,
1579
- q: import_zod2.z.string().optional().describe("Free-text search across path, body, and headers"),
1580
- from: durationOrTimestampSchema.optional().describe('Start time as a timestamp or duration like "1h" or "7d"'),
1581
- to: durationOrTimestampSchema.optional().describe('End time as a timestamp or duration like "1h" or "7d"')
1831
+ q: import_zod2.z.string().optional().describe(
1832
+ "Substring to find in the path, headers, body and decoded email fields (up to 1,000 characters)"
1833
+ ),
1834
+ from: durationOrTimestampSchema.optional().describe(
1835
+ 'Start time as a timestamp (Unix ms) or a duration back from now like "1h" or "7d". A duration is counted from each call, so when you continue with a cursor pass a timestamp to keep the same range.'
1836
+ ),
1837
+ to: durationOrTimestampSchema.optional().describe(
1838
+ 'End time as a timestamp (Unix ms) or a duration back from now like "1h" or "7d". A duration is counted from each call, so when you continue with a cursor pass a timestamp to keep the same range.'
1839
+ ),
1840
+ cursor: import_zod2.z.string().optional().describe(
1841
+ "The cursor from a previous count_requests result, to count the next stretch. Keep the other inputs the same."
1842
+ )
1582
1843
  },
1583
- withErrorHandling(async ({ slug, method, kind, q, from, to }) => {
1584
- const count = await client.requests.count({ slug, method, kind, q, from, to });
1585
- return jsonContent({ count });
1844
+ withErrorHandling(async ({ slug, method, kind, q, from, to, cursor }) => {
1845
+ const page = await client.requests.countPage({ slug, method, kind, q, from, to }, { cursor });
1846
+ const searchedUntil = isoTime(page.searchedUntil);
1847
+ return jsonContent({
1848
+ count: page.count,
1849
+ exact: page.exact,
1850
+ searchedUntil,
1851
+ cursor: page.cursor,
1852
+ ...page.exact ? {} : {
1853
+ note: `At least ${page.count}, counted ${searchedUntil ? `back to ${searchedUntil}` : "over part of the history"}; ${page.cursor ? "call count_requests again with cursor to count further (the counts add up)." : "there is no cursor to count further with."}`
1854
+ }
1855
+ });
1586
1856
  })
1587
1857
  );
1588
1858
  server.tool(
1589
1859
  "get_request",
1590
- "Get full details for a specific captured request by ID.",
1860
+ "Get the details of a captured request by ID: method, path, headers and body. A request larger than the tool output has its body cut (bodyTruncated, bodySize) and a note saying where the whole request is available.",
1591
1861
  getRequestShape,
1592
1862
  withErrorHandling(async ({ requestId }) => {
1593
1863
  const request = await client.requests.get(requestId);
1594
- return jsonContent(compactRequest(request));
1864
+ return requestContent(request);
1595
1865
  })
1596
1866
  );
1597
1867
  server.tool(
@@ -1600,7 +1870,7 @@ function registerTools(target, client, options = {}) {
1600
1870
  waitForRequestShape,
1601
1871
  withErrorHandling(async ({ endpointSlug, timeout, pollInterval }) => {
1602
1872
  const request = await client.requests.waitFor(endpointSlug, { timeout, pollInterval });
1603
- return jsonContent(compactRequest(request));
1873
+ return requestContent(request);
1604
1874
  })
1605
1875
  );
1606
1876
  server.tool(
@@ -2354,7 +2624,7 @@ function registerTools(target, client, options = {}) {
2354
2624
  );
2355
2625
  server.tool(
2356
2626
  "wait_for_approval",
2357
- "Wait for the account's owner to answer an approval (from create_api_key, create_share_link, remove_domain, rename_account, connect_google, pick_spreadsheet or ai_setup) and collect what it grants or did, such as the new API key, the share link or AI setup's proposals. If they have not answered yet, call it again.",
2627
+ "Wait for the account's owner to answer an approval (from create_api_key, create_share_link, remove_domain, rename_account, delete_team, invite_to_team, connect_google, pick_spreadsheet or ai_setup) and collect what it grants or did, such as the new API key, the share link or AI setup's proposals. If they have not answered yet, call it again.",
2358
2628
  {
2359
2629
  id: import_zod2.z.string().describe("The approval id"),
2360
2630
  timeout: durationOrTimestampSchema.default("45s").describe('How long to wait for the person, for example "45s"')
package/dist/index.mjs CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  registerTools,
14
14
  waitForRequestShape,
15
15
  withErrorHandling
16
- } from "./chunk-TMX4P6ZZ.mjs";
16
+ } from "./chunk-SOQIUGLA.mjs";
17
17
 
18
18
  // src/index.ts
19
19
  import { McpServer as McpServer2 } from "@modelcontextprotocol/sdk/server/mcp.js";
@@ -262,7 +262,7 @@ import {
262
262
  } from "@webhooks-cc/sdk";
263
263
 
264
264
  // src/version.ts
265
- var VERSION = true ? "1.23.0" : "0.0.0-dev";
265
+ var VERSION = true ? "1.24.0" : "0.0.0-dev";
266
266
  var MCP_USER_AGENT = `webhooks-cc-mcp/${VERSION}`;
267
267
 
268
268
  // src/sandbox-tools.ts