@nirvana-labs/nirvana-mcp 1.20.2 → 1.21.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.
Files changed (124) hide show
  1. package/README.md +21 -1
  2. package/code-tool-worker.d.mts.map +1 -1
  3. package/code-tool-worker.d.ts.map +1 -1
  4. package/code-tool-worker.js +211 -7
  5. package/code-tool-worker.js.map +1 -1
  6. package/code-tool-worker.mjs +211 -7
  7. package/code-tool-worker.mjs.map +1 -1
  8. package/code-tool.d.mts +1 -1
  9. package/code-tool.d.mts.map +1 -1
  10. package/code-tool.d.ts +1 -1
  11. package/code-tool.d.ts.map +1 -1
  12. package/code-tool.js +11 -13
  13. package/code-tool.js.map +1 -1
  14. package/code-tool.mjs +11 -13
  15. package/code-tool.mjs.map +1 -1
  16. package/dynamic-tools.d.mts +1 -1
  17. package/dynamic-tools.d.ts +1 -1
  18. package/dynamic-tools.js +1 -1
  19. package/dynamic-tools.mjs +1 -1
  20. package/options.d.mts.map +1 -1
  21. package/options.d.ts.map +1 -1
  22. package/options.js +6 -3
  23. package/options.js.map +1 -1
  24. package/options.mjs +6 -3
  25. package/options.mjs.map +1 -1
  26. package/package.json +4 -2
  27. package/server.js +1 -1
  28. package/server.mjs +1 -1
  29. package/src/code-tool-worker.ts +256 -7
  30. package/src/code-tool.ts +14 -13
  31. package/src/dynamic-tools.ts +1 -1
  32. package/src/options.ts +10 -3
  33. package/src/server.ts +1 -1
  34. package/src/tools/api-keys/list-api-keys.ts +12 -3
  35. package/src/tools/compute/vms/list-compute-vms.ts +12 -3
  36. package/src/tools/compute/vms/volumes/list-vms-compute-volumes.ts +11 -2
  37. package/src/tools/compute/volumes/list-compute-volumes.ts +12 -3
  38. package/src/tools/networking/connect/connections/list-connect-networking-connections.ts +12 -5
  39. package/src/tools/networking/connect/routes/list-connect-networking-routes.ts +12 -3
  40. package/src/tools/networking/firewall-rules/list-networking-firewall-rules.ts +11 -4
  41. package/src/tools/networking/vpcs/list-networking-vpcs.ts +12 -3
  42. package/src/tools/operations/list-operations.ts +12 -3
  43. package/src/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.ts +13 -6
  44. package/src/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.ts +12 -3
  45. package/src/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.ts +13 -4
  46. package/src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts +12 -3
  47. package/tools/api-keys/list-api-keys.d.mts.map +1 -1
  48. package/tools/api-keys/list-api-keys.d.ts.map +1 -1
  49. package/tools/api-keys/list-api-keys.js +12 -3
  50. package/tools/api-keys/list-api-keys.js.map +1 -1
  51. package/tools/api-keys/list-api-keys.mjs +12 -3
  52. package/tools/api-keys/list-api-keys.mjs.map +1 -1
  53. package/tools/compute/vms/list-compute-vms.d.mts.map +1 -1
  54. package/tools/compute/vms/list-compute-vms.d.ts.map +1 -1
  55. package/tools/compute/vms/list-compute-vms.js +12 -3
  56. package/tools/compute/vms/list-compute-vms.js.map +1 -1
  57. package/tools/compute/vms/list-compute-vms.mjs +12 -3
  58. package/tools/compute/vms/list-compute-vms.mjs.map +1 -1
  59. package/tools/compute/vms/volumes/list-vms-compute-volumes.d.mts.map +1 -1
  60. package/tools/compute/vms/volumes/list-vms-compute-volumes.d.ts.map +1 -1
  61. package/tools/compute/vms/volumes/list-vms-compute-volumes.js +11 -2
  62. package/tools/compute/vms/volumes/list-vms-compute-volumes.js.map +1 -1
  63. package/tools/compute/vms/volumes/list-vms-compute-volumes.mjs +11 -2
  64. package/tools/compute/vms/volumes/list-vms-compute-volumes.mjs.map +1 -1
  65. package/tools/compute/volumes/list-compute-volumes.d.mts.map +1 -1
  66. package/tools/compute/volumes/list-compute-volumes.d.ts.map +1 -1
  67. package/tools/compute/volumes/list-compute-volumes.js +12 -3
  68. package/tools/compute/volumes/list-compute-volumes.js.map +1 -1
  69. package/tools/compute/volumes/list-compute-volumes.mjs +12 -3
  70. package/tools/compute/volumes/list-compute-volumes.mjs.map +1 -1
  71. package/tools/networking/connect/connections/list-connect-networking-connections.d.mts.map +1 -1
  72. package/tools/networking/connect/connections/list-connect-networking-connections.d.ts.map +1 -1
  73. package/tools/networking/connect/connections/list-connect-networking-connections.js +12 -3
  74. package/tools/networking/connect/connections/list-connect-networking-connections.js.map +1 -1
  75. package/tools/networking/connect/connections/list-connect-networking-connections.mjs +12 -3
  76. package/tools/networking/connect/connections/list-connect-networking-connections.mjs.map +1 -1
  77. package/tools/networking/connect/routes/list-connect-networking-routes.d.mts.map +1 -1
  78. package/tools/networking/connect/routes/list-connect-networking-routes.d.ts.map +1 -1
  79. package/tools/networking/connect/routes/list-connect-networking-routes.js +12 -3
  80. package/tools/networking/connect/routes/list-connect-networking-routes.js.map +1 -1
  81. package/tools/networking/connect/routes/list-connect-networking-routes.mjs +12 -3
  82. package/tools/networking/connect/routes/list-connect-networking-routes.mjs.map +1 -1
  83. package/tools/networking/firewall-rules/list-networking-firewall-rules.d.mts.map +1 -1
  84. package/tools/networking/firewall-rules/list-networking-firewall-rules.d.ts.map +1 -1
  85. package/tools/networking/firewall-rules/list-networking-firewall-rules.js +11 -2
  86. package/tools/networking/firewall-rules/list-networking-firewall-rules.js.map +1 -1
  87. package/tools/networking/firewall-rules/list-networking-firewall-rules.mjs +11 -2
  88. package/tools/networking/firewall-rules/list-networking-firewall-rules.mjs.map +1 -1
  89. package/tools/networking/vpcs/list-networking-vpcs.d.mts.map +1 -1
  90. package/tools/networking/vpcs/list-networking-vpcs.d.ts.map +1 -1
  91. package/tools/networking/vpcs/list-networking-vpcs.js +12 -3
  92. package/tools/networking/vpcs/list-networking-vpcs.js.map +1 -1
  93. package/tools/networking/vpcs/list-networking-vpcs.mjs +12 -3
  94. package/tools/networking/vpcs/list-networking-vpcs.mjs.map +1 -1
  95. package/tools/operations/list-operations.d.mts.map +1 -1
  96. package/tools/operations/list-operations.d.ts.map +1 -1
  97. package/tools/operations/list-operations.js +12 -3
  98. package/tools/operations/list-operations.js.map +1 -1
  99. package/tools/operations/list-operations.mjs +12 -3
  100. package/tools/operations/list-operations.mjs.map +1 -1
  101. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.d.mts.map +1 -1
  102. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.d.ts.map +1 -1
  103. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.js +13 -4
  104. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.js.map +1 -1
  105. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.mjs +13 -4
  106. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.mjs.map +1 -1
  107. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.d.mts.map +1 -1
  108. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.d.ts.map +1 -1
  109. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.js +12 -3
  110. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.js.map +1 -1
  111. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.mjs +12 -3
  112. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.mjs.map +1 -1
  113. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.d.mts.map +1 -1
  114. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.d.ts.map +1 -1
  115. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.js +13 -4
  116. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.js.map +1 -1
  117. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.mjs +13 -4
  118. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.mjs.map +1 -1
  119. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.d.mts.map +1 -1
  120. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.d.ts.map +1 -1
  121. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.js +12 -3
  122. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.js.map +1 -1
  123. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.mjs +12 -3
  124. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.mjs.map +1 -1
@@ -11,10 +11,18 @@ export const metadata = {
11
11
  };
12
12
  export const tool = {
13
13
  name: 'list_rpc_nodes_dedicated',
14
- description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all RPC Node Dedicated you created\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/dedicated_list',\n $defs: {\n dedicated_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/dedicated'\n }\n }\n },\n required: [ 'items'\n ]\n },\n dedicated: {\n type: 'object',\n description: 'RPC Node Dedicated details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Dedicated.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Dedicated was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Dedicated.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Dedicated.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Dedicated was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'tags',\n 'updated_at'\n ]\n }\n }\n}\n```",
14
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all RPC Node Dedicated you created\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/dedicated_list',\n $defs: {\n dedicated_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/dedicated'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n dedicated: {\n type: 'object',\n description: 'RPC Node Dedicated details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Dedicated.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Dedicated was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Dedicated.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Dedicated.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Dedicated was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'tags',\n 'updated_at'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
15
15
  inputSchema: {
16
16
  type: 'object',
17
17
  properties: {
18
+ cursor: {
19
+ type: 'string',
20
+ description: 'Pagination cursor returned by a previous request',
21
+ },
22
+ limit: {
23
+ type: 'integer',
24
+ description: 'Maximum number of items to return',
25
+ },
18
26
  jq_filter: {
19
27
  type: 'string',
20
28
  title: 'jq Filter',
@@ -28,8 +36,9 @@ export const tool = {
28
36
  },
29
37
  };
30
38
  export const handler = async (client, args) => {
31
- const { jq_filter } = args;
32
- return asTextContentResult(await maybeFilter(jq_filter, await client.rpcNodes.dedicated.list()));
39
+ const { jq_filter, ...body } = args;
40
+ const response = await client.rpcNodes.dedicated.list(body).asResponse();
41
+ return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
33
42
  };
34
43
  export default { metadata, tool, handler };
35
44
  //# sourceMappingURL=list-rpc-nodes-dedicated.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-rpc-nodes-dedicated.mjs","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,qCAAqC;OAC1D,EAAY,mBAAmB,EAAE,MAAM,uCAAuC;AAKrF,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,qBAAqB;IAC/B,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,yBAAyB;IACnC,WAAW,EAAE,0BAA0B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,0BAA0B;IAChC,WAAW,EACT,85DAA85D;IACh6D,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAW,CAAC;IAClC,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,M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,MAAM,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IACzE,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AAClF,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-flex-rpc-nodes-blockchains.d.mts","sourceRoot":"","sources":["../../../../src/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,uCAAuC;OAE9E,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAG3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK5F,wBAA2C"}
1
+ {"version":3,"file":"list-flex-rpc-nodes-blockchains.d.mts","sourceRoot":"","sources":["../../../../src/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,uCAAuC;OAE9E,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAI3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM5F,wBAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-flex-rpc-nodes-blockchains.d.ts","sourceRoot":"","sources":["../../../../src/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,uCAAuC;OAE9E,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAG3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK5F,wBAA2C"}
1
+ {"version":3,"file":"list-flex-rpc-nodes-blockchains.d.ts","sourceRoot":"","sources":["../../../../src/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,uCAAuC;OAE9E,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAI3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM5F,wBAA2C"}
@@ -10,14 +10,22 @@ exports.metadata = {
10
10
  tags: [],
11
11
  httpMethod: 'get',
12
12
  httpPath: '/v1/rpc_nodes/flex/blockchains',
13
- operationId: 'list_flex_blockchains',
13
+ operationId: 'list_rpc_nodes_flex_blockchains',
14
14
  };
15
15
  exports.tool = {
16
16
  name: 'list_flex_rpc_nodes_blockchains',
17
- description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all Flex Blockchains\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex_blockchain_list',\n $defs: {\n flex_blockchain_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/flex_blockchain'\n }\n }\n },\n required: [ 'items'\n ]\n },\n flex_blockchain: {\n type: 'object',\n description: 'Blockchain supported by the RPC Node Flex.',\n properties: {\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n }\n },\n required: [ 'blockchain',\n 'network'\n ]\n }\n }\n}\n```",
17
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all Flex Blockchains\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex_blockchain_list',\n $defs: {\n flex_blockchain_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/flex_blockchain'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n flex_blockchain: {\n type: 'object',\n description: 'Blockchain supported by the RPC Node Flex.',\n properties: {\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n }\n },\n required: [ 'blockchain',\n 'network'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
18
18
  inputSchema: {
19
19
  type: 'object',
20
20
  properties: {
21
+ cursor: {
22
+ type: 'string',
23
+ description: 'Pagination cursor returned by a previous request',
24
+ },
25
+ limit: {
26
+ type: 'integer',
27
+ description: 'Maximum number of items to return',
28
+ },
21
29
  jq_filter: {
22
30
  type: 'string',
23
31
  title: 'jq Filter',
@@ -31,8 +39,9 @@ exports.tool = {
31
39
  },
32
40
  };
33
41
  const handler = async (client, args) => {
34
- const { jq_filter } = args;
35
- return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.rpcNodes.flex.blockchains.list()));
42
+ const { jq_filter, ...body } = args;
43
+ const response = await client.rpcNodes.flex.blockchains.list(body).asResponse();
44
+ return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await response.json()));
36
45
  };
37
46
  exports.handler = handler;
38
47
  exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
@@ -1 +1 @@
1
- {"version":3,"file":"list-flex-rpc-nodes-blockchains.js","sourceRoot":"","sources":["../../../../src/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAAkE;AAClE,iEAAsF;AAKzE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,4BAA4B;IACtC,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,gCAAgC;IAC1C,WAAW,EAAE,uBAAuB;CACrC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,iCAAiC;IACvC,WAAW,EACT,g/BAAg/B;IACl/B,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAW,CAAC;IAClC,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AAC1G,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"list-flex-rpc-nodes-blockchains.js","sourceRoot":"","sources":["../../../../src/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAAkE;AAClE,iEAAsF;AAKzE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,4BAA4B;IACtC,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,gCAAgC;IAC1C,WAAW,EAAE,iCAAiC;CAC/C,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,iCAAiC;IACvC,WAAW,EACT,w/CAAw/C;IAC1/C,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kDAAkD;aAChE;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,mCAAmC;aACjD;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IAChF,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AAClF,CAAC,CAAC;AAJW,QAAA,OAAO,WAIlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -7,14 +7,22 @@ export const metadata = {
7
7
  tags: [],
8
8
  httpMethod: 'get',
9
9
  httpPath: '/v1/rpc_nodes/flex/blockchains',
10
- operationId: 'list_flex_blockchains',
10
+ operationId: 'list_rpc_nodes_flex_blockchains',
11
11
  };
12
12
  export const tool = {
13
13
  name: 'list_flex_rpc_nodes_blockchains',
14
- description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all Flex Blockchains\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex_blockchain_list',\n $defs: {\n flex_blockchain_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/flex_blockchain'\n }\n }\n },\n required: [ 'items'\n ]\n },\n flex_blockchain: {\n type: 'object',\n description: 'Blockchain supported by the RPC Node Flex.',\n properties: {\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n }\n },\n required: [ 'blockchain',\n 'network'\n ]\n }\n }\n}\n```",
14
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all Flex Blockchains\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex_blockchain_list',\n $defs: {\n flex_blockchain_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/flex_blockchain'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n flex_blockchain: {\n type: 'object',\n description: 'Blockchain supported by the RPC Node Flex.',\n properties: {\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n }\n },\n required: [ 'blockchain',\n 'network'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
15
15
  inputSchema: {
16
16
  type: 'object',
17
17
  properties: {
18
+ cursor: {
19
+ type: 'string',
20
+ description: 'Pagination cursor returned by a previous request',
21
+ },
22
+ limit: {
23
+ type: 'integer',
24
+ description: 'Maximum number of items to return',
25
+ },
18
26
  jq_filter: {
19
27
  type: 'string',
20
28
  title: 'jq Filter',
@@ -28,8 +36,9 @@ export const tool = {
28
36
  },
29
37
  };
30
38
  export const handler = async (client, args) => {
31
- const { jq_filter } = args;
32
- return asTextContentResult(await maybeFilter(jq_filter, await client.rpcNodes.flex.blockchains.list()));
39
+ const { jq_filter, ...body } = args;
40
+ const response = await client.rpcNodes.flex.blockchains.list(body).asResponse();
41
+ return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
33
42
  };
34
43
  export default { metadata, tool, handler };
35
44
  //# sourceMappingURL=list-flex-rpc-nodes-blockchains.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-flex-rpc-nodes-blockchains.mjs","sourceRoot":"","sources":["../../../../src/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,qCAAqC;OAC1D,EAAY,mBAAmB,EAAE,MAAM,uCAAuC;AAKrF,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,4BAA4B;IACtC,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,gCAAgC;IAC1C,WAAW,EAAE,uBAAuB;CACrC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,iCAAiC;IACvC,WAAW,EACT,g/BAAg/B;IACl/B,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAW,CAAC;IAClC,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AAC1G,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"list-flex-rpc-nodes-blockchains.mjs","sourceRoot":"","sources":["../../../../src/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,qCAAqC;OAC1D,EAAY,mBAAmB,EAAE,MAAM,uCAAuC;AAKrF,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,4BAA4B;IACtC,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,gCAAgC;IAC1C,WAAW,EAAE,iCAAiC;CAC/C,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,iCAAiC;IACvC,WAAW,EACT,w/CAAw/C;IAC1/C,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kDAAkD;aAChE;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,mCAAmC;aACjD;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IAChF,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AAClF,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-rpc-nodes-flex.d.mts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,uCAAuC;OAE9E,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAG3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK5F,wBAA2C"}
1
+ {"version":3,"file":"list-rpc-nodes-flex.d.mts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,uCAAuC;OAE9E,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAI3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM5F,wBAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-rpc-nodes-flex.d.ts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,uCAAuC;OAE9E,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAG3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK5F,wBAA2C"}
1
+ {"version":3,"file":"list-rpc-nodes-flex.d.ts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,uCAAuC;OAE9E,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAI3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM5F,wBAA2C"}
@@ -14,10 +14,18 @@ exports.metadata = {
14
14
  };
15
15
  exports.tool = {
16
16
  name: 'list_rpc_nodes_flex',
17
- description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all RPC Node Flex you created\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex_list',\n $defs: {\n flex_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/flex'\n }\n }\n },\n required: [ 'items'\n ]\n },\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'tags',\n 'updated_at'\n ]\n }\n }\n}\n```",
17
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all RPC Node Flex you created\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex_list',\n $defs: {\n flex_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/flex'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'tags',\n 'updated_at'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
18
18
  inputSchema: {
19
19
  type: 'object',
20
20
  properties: {
21
+ cursor: {
22
+ type: 'string',
23
+ description: 'Pagination cursor returned by a previous request',
24
+ },
25
+ limit: {
26
+ type: 'integer',
27
+ description: 'Maximum number of items to return',
28
+ },
21
29
  jq_filter: {
22
30
  type: 'string',
23
31
  title: 'jq Filter',
@@ -31,8 +39,9 @@ exports.tool = {
31
39
  },
32
40
  };
33
41
  const handler = async (client, args) => {
34
- const { jq_filter } = args;
35
- return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.rpcNodes.flex.list()));
42
+ const { jq_filter, ...body } = args;
43
+ const response = await client.rpcNodes.flex.list(body).asResponse();
44
+ return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await response.json()));
36
45
  };
37
46
  exports.handler = handler;
38
47
  exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
@@ -1 +1 @@
1
- {"version":3,"file":"list-rpc-nodes-flex.js","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAAkE;AAClE,iEAAsF;AAKzE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,gBAAgB;IAC1B,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,oBAAoB;IAC9B,WAAW,EAAE,qBAAqB;CACnC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EACT,u2DAAu2D;IACz2D,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAW,CAAC;IAClC,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AAC9F,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"list-rpc-nodes-flex.js","s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AAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -11,10 +11,18 @@ export const metadata = {
11
11
  };
12
12
  export const tool = {
13
13
  name: 'list_rpc_nodes_flex',
14
- description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all RPC Node Flex you created\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex_list',\n $defs: {\n flex_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/flex'\n }\n }\n },\n required: [ 'items'\n ]\n },\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'tags',\n 'updated_at'\n ]\n }\n }\n}\n```",
14
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all RPC Node Flex you created\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex_list',\n $defs: {\n flex_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/flex'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'tags',\n 'updated_at'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
15
15
  inputSchema: {
16
16
  type: 'object',
17
17
  properties: {
18
+ cursor: {
19
+ type: 'string',
20
+ description: 'Pagination cursor returned by a previous request',
21
+ },
22
+ limit: {
23
+ type: 'integer',
24
+ description: 'Maximum number of items to return',
25
+ },
18
26
  jq_filter: {
19
27
  type: 'string',
20
28
  title: 'jq Filter',
@@ -28,8 +36,9 @@ export const tool = {
28
36
  },
29
37
  };
30
38
  export const handler = async (client, args) => {
31
- const { jq_filter } = args;
32
- return asTextContentResult(await maybeFilter(jq_filter, await client.rpcNodes.flex.list()));
39
+ const { jq_filter, ...body } = args;
40
+ const response = await client.rpcNodes.flex.list(body).asResponse();
41
+ return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
33
42
  };
34
43
  export default { metadata, tool, handler };
35
44
  //# sourceMappingURL=list-rpc-nodes-flex.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-rpc-nodes-flex.mjs","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,qCAAqC;OAC1D,EAAY,mBAAmB,EAAE,MAAM,uCAAuC;AAKrF,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,gBAAgB;IAC1B,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,oBAAoB;IAC9B,WAAW,EAAE,qBAAqB;CACnC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EACT,u2DAAu2D;IACz2D,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAW,CAAC;IAClC,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AAC9F,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"list-rpc-nodes-flex.mjs","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts"],"names":[],"mappings":"AA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