profound-mcp 0.13.0 → 0.17.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 (272) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +14 -184
  3. package/code-tool-types.d.mts +6 -7
  4. package/code-tool-types.d.mts.map +1 -1
  5. package/code-tool-types.d.ts +6 -7
  6. package/code-tool-types.d.ts.map +1 -1
  7. package/code-tool.d.mts +2 -2
  8. package/code-tool.d.mts.map +1 -1
  9. package/code-tool.d.ts +2 -2
  10. package/code-tool.d.ts.map +1 -1
  11. package/code-tool.js +53 -129
  12. package/code-tool.js.map +1 -1
  13. package/code-tool.mjs +53 -96
  14. package/code-tool.mjs.map +1 -1
  15. package/docs-search-tool.d.mts +15 -9
  16. package/docs-search-tool.d.mts.map +1 -1
  17. package/docs-search-tool.d.ts +15 -9
  18. package/docs-search-tool.d.ts.map +1 -1
  19. package/docs-search-tool.js +11 -3
  20. package/docs-search-tool.js.map +1 -1
  21. package/docs-search-tool.mjs +11 -3
  22. package/docs-search-tool.mjs.map +1 -1
  23. package/http.d.mts.map +1 -1
  24. package/http.d.ts.map +1 -1
  25. package/http.js +1 -18
  26. package/http.js.map +1 -1
  27. package/http.mjs +1 -18
  28. package/http.mjs.map +1 -1
  29. package/index.js +4 -40
  30. package/index.js.map +1 -1
  31. package/index.mjs +4 -40
  32. package/index.mjs.map +1 -1
  33. package/options.d.mts +0 -9
  34. package/options.d.mts.map +1 -1
  35. package/options.d.ts +0 -9
  36. package/options.d.ts.map +1 -1
  37. package/options.js +6 -361
  38. package/options.js.map +1 -1
  39. package/options.mjs +6 -361
  40. package/options.mjs.map +1 -1
  41. package/package.json +10 -66
  42. package/server.d.mts +3 -8
  43. package/server.d.mts.map +1 -1
  44. package/server.d.ts +3 -8
  45. package/server.d.ts.map +1 -1
  46. package/server.js +12 -65
  47. package/server.js.map +1 -1
  48. package/server.mjs +11 -62
  49. package/server.mjs.map +1 -1
  50. package/src/code-tool-types.ts +6 -5
  51. package/src/code-tool.ts +60 -117
  52. package/src/docs-search-tool.ts +15 -4
  53. package/src/http.ts +1 -19
  54. package/src/index.ts +5 -52
  55. package/src/options.ts +7 -388
  56. package/src/server.ts +12 -72
  57. package/src/stdio.ts +2 -3
  58. package/src/{tools/types.ts → types.ts} +1 -1
  59. package/stdio.d.mts +1 -2
  60. package/stdio.d.mts.map +1 -1
  61. package/stdio.d.ts +1 -2
  62. package/stdio.d.ts.map +1 -1
  63. package/stdio.js +2 -2
  64. package/stdio.js.map +1 -1
  65. package/stdio.mjs +2 -2
  66. package/stdio.mjs.map +1 -1
  67. package/{tools/types.d.mts → types.d.mts} +1 -1
  68. package/types.d.mts.map +1 -0
  69. package/{tools/types.d.ts → types.d.ts} +1 -1
  70. package/types.d.ts.map +1 -0
  71. package/types.js.map +1 -0
  72. package/types.mjs.map +1 -0
  73. package/code-tool-paths.cjs +0 -6
  74. package/code-tool-paths.cjs.map +0 -1
  75. package/code-tool-paths.d.cts +0 -2
  76. package/code-tool-paths.d.cts.map +0 -1
  77. package/code-tool-worker.d.mts +0 -5
  78. package/code-tool-worker.d.mts.map +0 -1
  79. package/code-tool-worker.d.ts +0 -5
  80. package/code-tool-worker.d.ts.map +0 -1
  81. package/code-tool-worker.js +0 -163
  82. package/code-tool-worker.js.map +0 -1
  83. package/code-tool-worker.mjs +0 -158
  84. package/code-tool-worker.mjs.map +0 -1
  85. package/compat.d.mts +0 -58
  86. package/compat.d.mts.map +0 -1
  87. package/compat.d.ts +0 -58
  88. package/compat.d.ts.map +0 -1
  89. package/compat.js +0 -387
  90. package/compat.js.map +0 -1
  91. package/compat.mjs +0 -378
  92. package/compat.mjs.map +0 -1
  93. package/dynamic-tools.d.mts +0 -12
  94. package/dynamic-tools.d.mts.map +0 -1
  95. package/dynamic-tools.d.ts +0 -12
  96. package/dynamic-tools.d.ts.map +0 -1
  97. package/dynamic-tools.js +0 -135
  98. package/dynamic-tools.js.map +0 -1
  99. package/dynamic-tools.mjs +0 -132
  100. package/dynamic-tools.mjs.map +0 -1
  101. package/filtering.d.mts +0 -3
  102. package/filtering.d.mts.map +0 -1
  103. package/filtering.d.ts +0 -3
  104. package/filtering.d.ts.map +0 -1
  105. package/filtering.js +0 -24
  106. package/filtering.js.map +0 -1
  107. package/filtering.mjs +0 -16
  108. package/filtering.mjs.map +0 -1
  109. package/src/code-tool-paths.cts +0 -3
  110. package/src/code-tool-worker.ts +0 -209
  111. package/src/compat.ts +0 -483
  112. package/src/dynamic-tools.ts +0 -153
  113. package/src/filtering.ts +0 -18
  114. package/src/tools/index.ts +0 -99
  115. package/src/tools/logs/raw/bots-logs-raw.ts +0 -537
  116. package/src/tools/logs/raw/logs-logs-raw.ts +0 -558
  117. package/src/tools/organizations/categories/assets-organizations-categories.ts +0 -57
  118. package/src/tools/organizations/categories/list-organizations-categories.ts +0 -51
  119. package/src/tools/organizations/categories/prompts-organizations-categories.ts +0 -57
  120. package/src/tools/organizations/categories/tags-organizations-categories.ts +0 -57
  121. package/src/tools/organizations/categories/topics-organizations-categories.ts +0 -57
  122. package/src/tools/organizations/domains-organizations.ts +0 -51
  123. package/src/tools/organizations/list-assets-organizations.ts +0 -51
  124. package/src/tools/organizations/models-organizations.ts +0 -51
  125. package/src/tools/organizations/regions-organizations.ts +0 -51
  126. package/src/tools/prompts/answers-prompts.ts +0 -328
  127. package/src/tools/reports/citations-reports.ts +0 -465
  128. package/src/tools/reports/sentiment-reports.ts +0 -379
  129. package/src/tools/reports/visibility-reports.ts +0 -326
  130. package/src/tools.ts +0 -1
  131. package/tools/index.d.mts +0 -10
  132. package/tools/index.d.mts.map +0 -1
  133. package/tools/index.d.ts +0 -10
  134. package/tools/index.d.ts.map +0 -1
  135. package/tools/index.js +0 -83
  136. package/tools/index.js.map +0 -1
  137. package/tools/index.mjs +0 -76
  138. package/tools/index.mjs.map +0 -1
  139. package/tools/logs/raw/bots-logs-raw.d.mts +0 -45
  140. package/tools/logs/raw/bots-logs-raw.d.mts.map +0 -1
  141. package/tools/logs/raw/bots-logs-raw.d.ts +0 -45
  142. package/tools/logs/raw/bots-logs-raw.d.ts.map +0 -1
  143. package/tools/logs/raw/bots-logs-raw.js +0 -532
  144. package/tools/logs/raw/bots-logs-raw.js.map +0 -1
  145. package/tools/logs/raw/bots-logs-raw.mjs +0 -528
  146. package/tools/logs/raw/bots-logs-raw.mjs.map +0 -1
  147. package/tools/logs/raw/logs-logs-raw.d.mts +0 -45
  148. package/tools/logs/raw/logs-logs-raw.d.mts.map +0 -1
  149. package/tools/logs/raw/logs-logs-raw.d.ts +0 -45
  150. package/tools/logs/raw/logs-logs-raw.d.ts.map +0 -1
  151. package/tools/logs/raw/logs-logs-raw.js +0 -553
  152. package/tools/logs/raw/logs-logs-raw.js.map +0 -1
  153. package/tools/logs/raw/logs-logs-raw.mjs +0 -549
  154. package/tools/logs/raw/logs-logs-raw.mjs.map +0 -1
  155. package/tools/organizations/categories/assets-organizations-categories.d.mts +0 -45
  156. package/tools/organizations/categories/assets-organizations-categories.d.mts.map +0 -1
  157. package/tools/organizations/categories/assets-organizations-categories.d.ts +0 -45
  158. package/tools/organizations/categories/assets-organizations-categories.d.ts.map +0 -1
  159. package/tools/organizations/categories/assets-organizations-categories.js +0 -51
  160. package/tools/organizations/categories/assets-organizations-categories.js.map +0 -1
  161. package/tools/organizations/categories/assets-organizations-categories.mjs +0 -47
  162. package/tools/organizations/categories/assets-organizations-categories.mjs.map +0 -1
  163. package/tools/organizations/categories/list-organizations-categories.d.mts +0 -45
  164. package/tools/organizations/categories/list-organizations-categories.d.mts.map +0 -1
  165. package/tools/organizations/categories/list-organizations-categories.d.ts +0 -45
  166. package/tools/organizations/categories/list-organizations-categories.d.ts.map +0 -1
  167. package/tools/organizations/categories/list-organizations-categories.js +0 -47
  168. package/tools/organizations/categories/list-organizations-categories.js.map +0 -1
  169. package/tools/organizations/categories/list-organizations-categories.mjs +0 -43
  170. package/tools/organizations/categories/list-organizations-categories.mjs.map +0 -1
  171. package/tools/organizations/categories/prompts-organizations-categories.d.mts +0 -45
  172. package/tools/organizations/categories/prompts-organizations-categories.d.mts.map +0 -1
  173. package/tools/organizations/categories/prompts-organizations-categories.d.ts +0 -45
  174. package/tools/organizations/categories/prompts-organizations-categories.d.ts.map +0 -1
  175. package/tools/organizations/categories/prompts-organizations-categories.js +0 -51
  176. package/tools/organizations/categories/prompts-organizations-categories.js.map +0 -1
  177. package/tools/organizations/categories/prompts-organizations-categories.mjs +0 -47
  178. package/tools/organizations/categories/prompts-organizations-categories.mjs.map +0 -1
  179. package/tools/organizations/categories/tags-organizations-categories.d.mts +0 -45
  180. package/tools/organizations/categories/tags-organizations-categories.d.mts.map +0 -1
  181. package/tools/organizations/categories/tags-organizations-categories.d.ts +0 -45
  182. package/tools/organizations/categories/tags-organizations-categories.d.ts.map +0 -1
  183. package/tools/organizations/categories/tags-organizations-categories.js +0 -51
  184. package/tools/organizations/categories/tags-organizations-categories.js.map +0 -1
  185. package/tools/organizations/categories/tags-organizations-categories.mjs +0 -47
  186. package/tools/organizations/categories/tags-organizations-categories.mjs.map +0 -1
  187. package/tools/organizations/categories/topics-organizations-categories.d.mts +0 -45
  188. package/tools/organizations/categories/topics-organizations-categories.d.mts.map +0 -1
  189. package/tools/organizations/categories/topics-organizations-categories.d.ts +0 -45
  190. package/tools/organizations/categories/topics-organizations-categories.d.ts.map +0 -1
  191. package/tools/organizations/categories/topics-organizations-categories.js +0 -51
  192. package/tools/organizations/categories/topics-organizations-categories.js.map +0 -1
  193. package/tools/organizations/categories/topics-organizations-categories.mjs +0 -47
  194. package/tools/organizations/categories/topics-organizations-categories.mjs.map +0 -1
  195. package/tools/organizations/domains-organizations.d.mts +0 -45
  196. package/tools/organizations/domains-organizations.d.mts.map +0 -1
  197. package/tools/organizations/domains-organizations.d.ts +0 -45
  198. package/tools/organizations/domains-organizations.d.ts.map +0 -1
  199. package/tools/organizations/domains-organizations.js +0 -47
  200. package/tools/organizations/domains-organizations.js.map +0 -1
  201. package/tools/organizations/domains-organizations.mjs +0 -43
  202. package/tools/organizations/domains-organizations.mjs.map +0 -1
  203. package/tools/organizations/list-assets-organizations.d.mts +0 -45
  204. package/tools/organizations/list-assets-organizations.d.mts.map +0 -1
  205. package/tools/organizations/list-assets-organizations.d.ts +0 -45
  206. package/tools/organizations/list-assets-organizations.d.ts.map +0 -1
  207. package/tools/organizations/list-assets-organizations.js +0 -47
  208. package/tools/organizations/list-assets-organizations.js.map +0 -1
  209. package/tools/organizations/list-assets-organizations.mjs +0 -43
  210. package/tools/organizations/list-assets-organizations.mjs.map +0 -1
  211. package/tools/organizations/models-organizations.d.mts +0 -45
  212. package/tools/organizations/models-organizations.d.mts.map +0 -1
  213. package/tools/organizations/models-organizations.d.ts +0 -45
  214. package/tools/organizations/models-organizations.d.ts.map +0 -1
  215. package/tools/organizations/models-organizations.js +0 -47
  216. package/tools/organizations/models-organizations.js.map +0 -1
  217. package/tools/organizations/models-organizations.mjs +0 -43
  218. package/tools/organizations/models-organizations.mjs.map +0 -1
  219. package/tools/organizations/regions-organizations.d.mts +0 -45
  220. package/tools/organizations/regions-organizations.d.mts.map +0 -1
  221. package/tools/organizations/regions-organizations.d.ts +0 -45
  222. package/tools/organizations/regions-organizations.d.ts.map +0 -1
  223. package/tools/organizations/regions-organizations.js +0 -47
  224. package/tools/organizations/regions-organizations.js.map +0 -1
  225. package/tools/organizations/regions-organizations.mjs +0 -43
  226. package/tools/organizations/regions-organizations.mjs.map +0 -1
  227. package/tools/prompts/answers-prompts.d.mts +0 -45
  228. package/tools/prompts/answers-prompts.d.mts.map +0 -1
  229. package/tools/prompts/answers-prompts.d.ts +0 -45
  230. package/tools/prompts/answers-prompts.d.ts.map +0 -1
  231. package/tools/prompts/answers-prompts.js +0 -325
  232. package/tools/prompts/answers-prompts.js.map +0 -1
  233. package/tools/prompts/answers-prompts.mjs +0 -321
  234. package/tools/prompts/answers-prompts.mjs.map +0 -1
  235. package/tools/reports/citations-reports.d.mts +0 -45
  236. package/tools/reports/citations-reports.d.mts.map +0 -1
  237. package/tools/reports/citations-reports.d.ts +0 -45
  238. package/tools/reports/citations-reports.d.ts.map +0 -1
  239. package/tools/reports/citations-reports.js +0 -459
  240. package/tools/reports/citations-reports.js.map +0 -1
  241. package/tools/reports/citations-reports.mjs +0 -455
  242. package/tools/reports/citations-reports.mjs.map +0 -1
  243. package/tools/reports/sentiment-reports.d.mts +0 -45
  244. package/tools/reports/sentiment-reports.d.mts.map +0 -1
  245. package/tools/reports/sentiment-reports.d.ts +0 -45
  246. package/tools/reports/sentiment-reports.d.ts.map +0 -1
  247. package/tools/reports/sentiment-reports.js +0 -373
  248. package/tools/reports/sentiment-reports.js.map +0 -1
  249. package/tools/reports/sentiment-reports.mjs +0 -369
  250. package/tools/reports/sentiment-reports.mjs.map +0 -1
  251. package/tools/reports/visibility-reports.d.mts +0 -45
  252. package/tools/reports/visibility-reports.d.mts.map +0 -1
  253. package/tools/reports/visibility-reports.d.ts +0 -45
  254. package/tools/reports/visibility-reports.d.ts.map +0 -1
  255. package/tools/reports/visibility-reports.js +0 -320
  256. package/tools/reports/visibility-reports.js.map +0 -1
  257. package/tools/reports/visibility-reports.mjs +0 -316
  258. package/tools/reports/visibility-reports.mjs.map +0 -1
  259. package/tools/types.d.mts.map +0 -1
  260. package/tools/types.d.ts.map +0 -1
  261. package/tools/types.js.map +0 -1
  262. package/tools/types.mjs.map +0 -1
  263. package/tools.d.mts +0 -2
  264. package/tools.d.mts.map +0 -1
  265. package/tools.d.ts +0 -2
  266. package/tools.d.ts.map +0 -1
  267. package/tools.js +0 -18
  268. package/tools.js.map +0 -1
  269. package/tools.mjs +0 -2
  270. package/tools.mjs.map +0 -1
  271. /package/{tools/types.js → types.js} +0 -0
  272. /package/{tools/types.mjs → types.mjs} +0 -0
@@ -1,47 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.handler = exports.tool = exports.metadata = void 0;
5
- const filtering_1 = require("profound-mcp/filtering");
6
- const types_1 = require("profound-mcp/tools/types");
7
- exports.metadata = {
8
- resource: 'organizations',
9
- operation: 'read',
10
- tags: [],
11
- httpMethod: 'get',
12
- httpPath: '/v1/org/assets',
13
- operationId: 'get_assets_v1_org_assets_get',
14
- };
15
- exports.tool = {
16
- name: 'list_assets_organizations',
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\nGet Assets\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/organization_list_assets_response',\n $defs: {\n organization_list_assets_response: {\n type: 'object',\n title: 'OrganizationAssetsResponse',\n properties: {\n data: {\n type: 'array',\n title: 'Data',\n items: {\n type: 'object',\n title: 'CategoryAssetWithCategory',\n properties: {\n id: {\n type: 'string',\n title: 'Id'\n },\n category: {\n $ref: '#/$defs/org_item'\n },\n created_at: {\n type: 'string',\n title: 'Created At',\n format: 'date-time'\n },\n is_owned: {\n type: 'boolean',\n title: 'Is Owned'\n },\n name: {\n type: 'string',\n title: 'Name'\n },\n website: {\n type: 'string',\n title: 'Website'\n },\n alternate_domains: {\n type: 'array',\n title: 'Alternate Domains',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'id',\n 'category',\n 'created_at',\n 'is_owned',\n 'name',\n 'website'\n ]\n }\n }\n },\n required: [ 'data'\n ]\n },\n org_item: {\n type: 'object',\n title: 'OrgItem',\n properties: {\n id: {\n type: 'string',\n title: 'Id'\n },\n name: {\n type: 'string',\n title: 'Name'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
18
- inputSchema: {
19
- type: 'object',
20
- properties: {
21
- jq_filter: {
22
- type: 'string',
23
- title: 'jq Filter',
24
- description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
25
- },
26
- },
27
- required: [],
28
- },
29
- annotations: {
30
- readOnlyHint: true,
31
- },
32
- };
33
- const handler = async (client, args) => {
34
- const { jq_filter } = args;
35
- try {
36
- return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.organizations.listAssets()));
37
- }
38
- catch (error) {
39
- if ((0, filtering_1.isJqError)(error)) {
40
- return (0, types_1.asErrorResult)(error.message);
41
- }
42
- throw error;
43
- }
44
- };
45
- exports.handler = handler;
46
- exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
47
- //# sourceMappingURL=list-assets-organizations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"list-assets-organizations.js","sourceRoot":"","sources":["../../src/tools/organizations/list-assets-organizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAAgE;AAChE,oDAAwF;AAK3E,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,eAAe;IACzB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,gBAAgB;IAC1B,WAAW,EAAE,8BAA8B;CAC5C,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,2BAA2B;IACjC,WAAW,EACT,yjEAAyjE;IAC3jE,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,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAW,CAAC;IAClC,IAAI,CAAC;QACH,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,aAAa,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IACpG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAVW,QAAA,OAAO,WAUlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -1,43 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { isJqError, maybeFilter } from 'profound-mcp/filtering';
3
- import { asErrorResult, asTextContentResult } from 'profound-mcp/tools/types';
4
- export const metadata = {
5
- resource: 'organizations',
6
- operation: 'read',
7
- tags: [],
8
- httpMethod: 'get',
9
- httpPath: '/v1/org/assets',
10
- operationId: 'get_assets_v1_org_assets_get',
11
- };
12
- export const tool = {
13
- name: 'list_assets_organizations',
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\nGet Assets\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/organization_list_assets_response',\n $defs: {\n organization_list_assets_response: {\n type: 'object',\n title: 'OrganizationAssetsResponse',\n properties: {\n data: {\n type: 'array',\n title: 'Data',\n items: {\n type: 'object',\n title: 'CategoryAssetWithCategory',\n properties: {\n id: {\n type: 'string',\n title: 'Id'\n },\n category: {\n $ref: '#/$defs/org_item'\n },\n created_at: {\n type: 'string',\n title: 'Created At',\n format: 'date-time'\n },\n is_owned: {\n type: 'boolean',\n title: 'Is Owned'\n },\n name: {\n type: 'string',\n title: 'Name'\n },\n website: {\n type: 'string',\n title: 'Website'\n },\n alternate_domains: {\n type: 'array',\n title: 'Alternate Domains',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'id',\n 'category',\n 'created_at',\n 'is_owned',\n 'name',\n 'website'\n ]\n }\n }\n },\n required: [ 'data'\n ]\n },\n org_item: {\n type: 'object',\n title: 'OrgItem',\n properties: {\n id: {\n type: 'string',\n title: 'Id'\n },\n name: {\n type: 'string',\n title: 'Name'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
15
- inputSchema: {
16
- type: 'object',
17
- properties: {
18
- jq_filter: {
19
- type: 'string',
20
- title: 'jq Filter',
21
- description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
22
- },
23
- },
24
- required: [],
25
- },
26
- annotations: {
27
- readOnlyHint: true,
28
- },
29
- };
30
- export const handler = async (client, args) => {
31
- const { jq_filter } = args;
32
- try {
33
- return asTextContentResult(await maybeFilter(jq_filter, await client.organizations.listAssets()));
34
- }
35
- catch (error) {
36
- if (isJqError(error)) {
37
- return asErrorResult(error.message);
38
- }
39
- throw error;
40
- }
41
- };
42
- export default { metadata, tool, handler };
43
- //# sourceMappingURL=list-assets-organizations.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"list-assets-organizations.mjs","sourceRoot":"","sources":["../../src/tools/organizations/list-assets-organizations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wBAAwB;OACxD,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,0BAA0B;AAKvF,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,eAAe;IACzB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,gBAAgB;IAC1B,WAAW,EAAE,8BAA8B;CAC5C,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,2BAA2B;IACjC,WAAW,EACT,yjEAAyjE;IAC3jE,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,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAW,CAAC;IAClC,IAAI,CAAC;QACH,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,aAAa,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IACpG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -1,45 +0,0 @@
1
- import { Metadata } from 'profound-mcp/tools/types';
2
- import { Tool } from '@modelcontextprotocol/sdk/types.js';
3
- import Profound from 'profoundai';
4
- export declare const metadata: Metadata;
5
- export declare const tool: Tool;
6
- export declare const handler: (client: Profound, args: Record<string, unknown> | undefined) => Promise<import("profound-mcp/tools/types").ToolCallResult>;
7
- declare const _default: {
8
- metadata: Metadata;
9
- tool: {
10
- [x: string]: unknown;
11
- name: string;
12
- inputSchema: {
13
- [x: string]: unknown;
14
- type: "object";
15
- properties?: {
16
- [x: string]: unknown;
17
- } | undefined;
18
- required?: string[] | undefined;
19
- };
20
- title?: string | undefined;
21
- description?: string | undefined;
22
- outputSchema?: {
23
- [x: string]: unknown;
24
- type: "object";
25
- properties?: {
26
- [x: string]: unknown;
27
- } | undefined;
28
- required?: string[] | undefined;
29
- } | undefined;
30
- annotations?: {
31
- [x: string]: unknown;
32
- title?: string | undefined;
33
- readOnlyHint?: boolean | undefined;
34
- destructiveHint?: boolean | undefined;
35
- idempotentHint?: boolean | undefined;
36
- openWorldHint?: boolean | undefined;
37
- } | undefined;
38
- _meta?: {
39
- [x: string]: unknown;
40
- } | undefined;
41
- };
42
- handler: (client: Profound, args: Record<string, unknown> | undefined) => Promise<import("profound-mcp/tools/types").ToolCallResult>;
43
- };
44
- export default _default;
45
- //# sourceMappingURL=models-organizations.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"models-organizations.d.mts","sourceRoot":"","sources":["../../src/tools/organizations/models-organizations.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,0BAA0B;OAEhF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,QAAQ,MAAM,YAAY;AAEjC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,+DAUxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAYzF,wBAA2C"}
@@ -1,45 +0,0 @@
1
- import { Metadata } from 'profound-mcp/tools/types';
2
- import { Tool } from '@modelcontextprotocol/sdk/types.js';
3
- import Profound from 'profoundai';
4
- export declare const metadata: Metadata;
5
- export declare const tool: Tool;
6
- export declare const handler: (client: Profound, args: Record<string, unknown> | undefined) => Promise<import("profound-mcp/tools/types").ToolCallResult>;
7
- declare const _default: {
8
- metadata: Metadata;
9
- tool: {
10
- [x: string]: unknown;
11
- name: string;
12
- inputSchema: {
13
- [x: string]: unknown;
14
- type: "object";
15
- properties?: {
16
- [x: string]: unknown;
17
- } | undefined;
18
- required?: string[] | undefined;
19
- };
20
- title?: string | undefined;
21
- description?: string | undefined;
22
- outputSchema?: {
23
- [x: string]: unknown;
24
- type: "object";
25
- properties?: {
26
- [x: string]: unknown;
27
- } | undefined;
28
- required?: string[] | undefined;
29
- } | undefined;
30
- annotations?: {
31
- [x: string]: unknown;
32
- title?: string | undefined;
33
- readOnlyHint?: boolean | undefined;
34
- destructiveHint?: boolean | undefined;
35
- idempotentHint?: boolean | undefined;
36
- openWorldHint?: boolean | undefined;
37
- } | undefined;
38
- _meta?: {
39
- [x: string]: unknown;
40
- } | undefined;
41
- };
42
- handler: (client: Profound, args: Record<string, unknown> | undefined) => Promise<import("profound-mcp/tools/types").ToolCallResult>;
43
- };
44
- export default _default;
45
- //# sourceMappingURL=models-organizations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"models-organizations.d.ts","sourceRoot":"","sources":["../../src/tools/organizations/models-organizations.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,0BAA0B;OAEhF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,QAAQ,MAAM,YAAY;AAEjC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,+DAUxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAYzF,wBAA2C"}
@@ -1,47 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.handler = exports.tool = exports.metadata = void 0;
5
- const filtering_1 = require("profound-mcp/filtering");
6
- const types_1 = require("profound-mcp/tools/types");
7
- exports.metadata = {
8
- resource: 'organizations',
9
- operation: 'read',
10
- tags: [],
11
- httpMethod: 'get',
12
- httpPath: '/v1/org/models',
13
- operationId: 'get_models_v1_org_models_get',
14
- };
15
- exports.tool = {
16
- name: 'models_organizations',
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\nGet the organization models.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/organization_models_response',\n $defs: {\n organization_models_response: {\n type: 'array',\n title: 'Response Get Models V1 Org Models Get',\n items: {\n $ref: '#/$defs/org_item'\n }\n },\n org_item: {\n type: 'object',\n title: 'OrgItem',\n properties: {\n id: {\n type: 'string',\n title: 'Id'\n },\n name: {\n type: 'string',\n title: 'Name'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
18
- inputSchema: {
19
- type: 'object',
20
- properties: {
21
- jq_filter: {
22
- type: 'string',
23
- title: 'jq Filter',
24
- description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
25
- },
26
- },
27
- required: [],
28
- },
29
- annotations: {
30
- readOnlyHint: true,
31
- },
32
- };
33
- const handler = async (client, args) => {
34
- const { jq_filter } = args;
35
- try {
36
- return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.organizations.models()));
37
- }
38
- catch (error) {
39
- if ((0, filtering_1.isJqError)(error)) {
40
- return (0, types_1.asErrorResult)(error.message);
41
- }
42
- throw error;
43
- }
44
- };
45
- exports.handler = handler;
46
- exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
47
- //# sourceMappingURL=models-organizations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"models-organizations.js","sourceRoot":"","sources":["../../src/tools/organizations/models-organizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAAgE;AAChE,oDAAwF;AAK3E,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,eAAe;IACzB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,gBAAgB;IAC1B,WAAW,EAAE,8BAA8B;CAC5C,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EACT,myBAAmyB;IACryB,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,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAW,CAAC;IAClC,IAAI,CAAC;QACH,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAChG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAVW,QAAA,OAAO,WAUlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -1,43 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { isJqError, maybeFilter } from 'profound-mcp/filtering';
3
- import { asErrorResult, asTextContentResult } from 'profound-mcp/tools/types';
4
- export const metadata = {
5
- resource: 'organizations',
6
- operation: 'read',
7
- tags: [],
8
- httpMethod: 'get',
9
- httpPath: '/v1/org/models',
10
- operationId: 'get_models_v1_org_models_get',
11
- };
12
- export const tool = {
13
- name: 'models_organizations',
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\nGet the organization models.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/organization_models_response',\n $defs: {\n organization_models_response: {\n type: 'array',\n title: 'Response Get Models V1 Org Models Get',\n items: {\n $ref: '#/$defs/org_item'\n }\n },\n org_item: {\n type: 'object',\n title: 'OrgItem',\n properties: {\n id: {\n type: 'string',\n title: 'Id'\n },\n name: {\n type: 'string',\n title: 'Name'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
15
- inputSchema: {
16
- type: 'object',
17
- properties: {
18
- jq_filter: {
19
- type: 'string',
20
- title: 'jq Filter',
21
- description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
22
- },
23
- },
24
- required: [],
25
- },
26
- annotations: {
27
- readOnlyHint: true,
28
- },
29
- };
30
- export const handler = async (client, args) => {
31
- const { jq_filter } = args;
32
- try {
33
- return asTextContentResult(await maybeFilter(jq_filter, await client.organizations.models()));
34
- }
35
- catch (error) {
36
- if (isJqError(error)) {
37
- return asErrorResult(error.message);
38
- }
39
- throw error;
40
- }
41
- };
42
- export default { metadata, tool, handler };
43
- //# sourceMappingURL=models-organizations.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"models-organizations.mjs","sourceRoot":"","sources":["../../src/tools/organizations/models-organizations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wBAAwB;OACxD,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,0BAA0B;AAKvF,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,eAAe;IACzB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,gBAAgB;IAC1B,WAAW,EAAE,8BAA8B;CAC5C,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EACT,myBAAmyB;IACryB,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,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAW,CAAC;IAClC,IAAI,CAAC;QACH,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAChG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -1,45 +0,0 @@
1
- import { Metadata } from 'profound-mcp/tools/types';
2
- import { Tool } from '@modelcontextprotocol/sdk/types.js';
3
- import Profound from 'profoundai';
4
- export declare const metadata: Metadata;
5
- export declare const tool: Tool;
6
- export declare const handler: (client: Profound, args: Record<string, unknown> | undefined) => Promise<import("profound-mcp/tools/types").ToolCallResult>;
7
- declare const _default: {
8
- metadata: Metadata;
9
- tool: {
10
- [x: string]: unknown;
11
- name: string;
12
- inputSchema: {
13
- [x: string]: unknown;
14
- type: "object";
15
- properties?: {
16
- [x: string]: unknown;
17
- } | undefined;
18
- required?: string[] | undefined;
19
- };
20
- title?: string | undefined;
21
- description?: string | undefined;
22
- outputSchema?: {
23
- [x: string]: unknown;
24
- type: "object";
25
- properties?: {
26
- [x: string]: unknown;
27
- } | undefined;
28
- required?: string[] | undefined;
29
- } | undefined;
30
- annotations?: {
31
- [x: string]: unknown;
32
- title?: string | undefined;
33
- readOnlyHint?: boolean | undefined;
34
- destructiveHint?: boolean | undefined;
35
- idempotentHint?: boolean | undefined;
36
- openWorldHint?: boolean | undefined;
37
- } | undefined;
38
- _meta?: {
39
- [x: string]: unknown;
40
- } | undefined;
41
- };
42
- handler: (client: Profound, args: Record<string, unknown> | undefined) => Promise<import("profound-mcp/tools/types").ToolCallResult>;
43
- };
44
- export default _default;
45
- //# sourceMappingURL=regions-organizations.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"regions-organizations.d.mts","sourceRoot":"","sources":["../../src/tools/organizations/regions-organizations.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,0BAA0B;OAEhF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,QAAQ,MAAM,YAAY;AAEjC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,+DAUxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAYzF,wBAA2C"}
@@ -1,45 +0,0 @@
1
- import { Metadata } from 'profound-mcp/tools/types';
2
- import { Tool } from '@modelcontextprotocol/sdk/types.js';
3
- import Profound from 'profoundai';
4
- export declare const metadata: Metadata;
5
- export declare const tool: Tool;
6
- export declare const handler: (client: Profound, args: Record<string, unknown> | undefined) => Promise<import("profound-mcp/tools/types").ToolCallResult>;
7
- declare const _default: {
8
- metadata: Metadata;
9
- tool: {
10
- [x: string]: unknown;
11
- name: string;
12
- inputSchema: {
13
- [x: string]: unknown;
14
- type: "object";
15
- properties?: {
16
- [x: string]: unknown;
17
- } | undefined;
18
- required?: string[] | undefined;
19
- };
20
- title?: string | undefined;
21
- description?: string | undefined;
22
- outputSchema?: {
23
- [x: string]: unknown;
24
- type: "object";
25
- properties?: {
26
- [x: string]: unknown;
27
- } | undefined;
28
- required?: string[] | undefined;
29
- } | undefined;
30
- annotations?: {
31
- [x: string]: unknown;
32
- title?: string | undefined;
33
- readOnlyHint?: boolean | undefined;
34
- destructiveHint?: boolean | undefined;
35
- idempotentHint?: boolean | undefined;
36
- openWorldHint?: boolean | undefined;
37
- } | undefined;
38
- _meta?: {
39
- [x: string]: unknown;
40
- } | undefined;
41
- };
42
- handler: (client: Profound, args: Record<string, unknown> | undefined) => Promise<import("profound-mcp/tools/types").ToolCallResult>;
43
- };
44
- export default _default;
45
- //# sourceMappingURL=regions-organizations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"regions-organizations.d.ts","sourceRoot":"","sources":["../../src/tools/organizations/regions-organizations.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,0BAA0B;OAEhF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,QAAQ,MAAM,YAAY;AAEjC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,+DAUxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAYzF,wBAA2C"}
@@ -1,47 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.handler = exports.tool = exports.metadata = void 0;
5
- const filtering_1 = require("profound-mcp/filtering");
6
- const types_1 = require("profound-mcp/tools/types");
7
- exports.metadata = {
8
- resource: 'organizations',
9
- operation: 'read',
10
- tags: [],
11
- httpMethod: 'get',
12
- httpPath: '/v1/org/regions',
13
- operationId: 'get_regions_v1_org_regions_get',
14
- };
15
- exports.tool = {
16
- name: 'regions_organizations',
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\nGet the organization regions.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/organization_regions_response',\n $defs: {\n organization_regions_response: {\n type: 'array',\n title: 'Response Get Regions V1 Org Regions Get',\n items: {\n $ref: '#/$defs/org_item'\n }\n },\n org_item: {\n type: 'object',\n title: 'OrgItem',\n properties: {\n id: {\n type: 'string',\n title: 'Id'\n },\n name: {\n type: 'string',\n title: 'Name'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
18
- inputSchema: {
19
- type: 'object',
20
- properties: {
21
- jq_filter: {
22
- type: 'string',
23
- title: 'jq Filter',
24
- description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
25
- },
26
- },
27
- required: [],
28
- },
29
- annotations: {
30
- readOnlyHint: true,
31
- },
32
- };
33
- const handler = async (client, args) => {
34
- const { jq_filter } = args;
35
- try {
36
- return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.organizations.regions()));
37
- }
38
- catch (error) {
39
- if ((0, filtering_1.isJqError)(error)) {
40
- return (0, types_1.asErrorResult)(error.message);
41
- }
42
- throw error;
43
- }
44
- };
45
- exports.handler = handler;
46
- exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
47
- //# sourceMappingURL=regions-organizations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"regions-organizations.js","sourceRoot":"","sources":["../../src/tools/organizations/regions-organizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAAgE;AAChE,oDAAwF;AAK3E,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,eAAe;IACzB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,iBAAiB;IAC3B,WAAW,EAAE,gCAAgC;CAC9C,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EACT,wyBAAwyB;IAC1yB,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,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAW,CAAC;IAClC,IAAI,CAAC;QACH,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;IACjG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAVW,QAAA,OAAO,WAUlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -1,43 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { isJqError, maybeFilter } from 'profound-mcp/filtering';
3
- import { asErrorResult, asTextContentResult } from 'profound-mcp/tools/types';
4
- export const metadata = {
5
- resource: 'organizations',
6
- operation: 'read',
7
- tags: [],
8
- httpMethod: 'get',
9
- httpPath: '/v1/org/regions',
10
- operationId: 'get_regions_v1_org_regions_get',
11
- };
12
- export const tool = {
13
- name: 'regions_organizations',
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\nGet the organization regions.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/organization_regions_response',\n $defs: {\n organization_regions_response: {\n type: 'array',\n title: 'Response Get Regions V1 Org Regions Get',\n items: {\n $ref: '#/$defs/org_item'\n }\n },\n org_item: {\n type: 'object',\n title: 'OrgItem',\n properties: {\n id: {\n type: 'string',\n title: 'Id'\n },\n name: {\n type: 'string',\n title: 'Name'\n }\n },\n required: [ 'id',\n 'name'\n ]\n }\n }\n}\n```",
15
- inputSchema: {
16
- type: 'object',
17
- properties: {
18
- jq_filter: {
19
- type: 'string',
20
- title: 'jq Filter',
21
- description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
22
- },
23
- },
24
- required: [],
25
- },
26
- annotations: {
27
- readOnlyHint: true,
28
- },
29
- };
30
- export const handler = async (client, args) => {
31
- const { jq_filter } = args;
32
- try {
33
- return asTextContentResult(await maybeFilter(jq_filter, await client.organizations.regions()));
34
- }
35
- catch (error) {
36
- if (isJqError(error)) {
37
- return asErrorResult(error.message);
38
- }
39
- throw error;
40
- }
41
- };
42
- export default { metadata, tool, handler };
43
- //# sourceMappingURL=regions-organizations.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"regions-organizations.mjs","sourceRoot":"","sources":["../../src/tools/organizations/regions-organizations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wBAAwB;OACxD,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,0BAA0B;AAKvF,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,eAAe;IACzB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,iBAAiB;IAC3B,WAAW,EAAE,gCAAgC;CAC9C,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EACT,wyBAAwyB;IAC1yB,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,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAW,CAAC;IAClC,IAAI,CAAC;QACH,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;IACjG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -1,45 +0,0 @@
1
- import { Metadata } from 'profound-mcp/tools/types';
2
- import { Tool } from '@modelcontextprotocol/sdk/types.js';
3
- import Profound from 'profoundai';
4
- export declare const metadata: Metadata;
5
- export declare const tool: Tool;
6
- export declare const handler: (client: Profound, args: Record<string, unknown> | undefined) => Promise<import("profound-mcp/tools/types").ToolCallResult>;
7
- declare const _default: {
8
- metadata: Metadata;
9
- tool: {
10
- [x: string]: unknown;
11
- name: string;
12
- inputSchema: {
13
- [x: string]: unknown;
14
- type: "object";
15
- properties?: {
16
- [x: string]: unknown;
17
- } | undefined;
18
- required?: string[] | undefined;
19
- };
20
- title?: string | undefined;
21
- description?: string | undefined;
22
- outputSchema?: {
23
- [x: string]: unknown;
24
- type: "object";
25
- properties?: {
26
- [x: string]: unknown;
27
- } | undefined;
28
- required?: string[] | undefined;
29
- } | undefined;
30
- annotations?: {
31
- [x: string]: unknown;
32
- title?: string | undefined;
33
- readOnlyHint?: boolean | undefined;
34
- destructiveHint?: boolean | undefined;
35
- idempotentHint?: boolean | undefined;
36
- openWorldHint?: boolean | undefined;
37
- } | undefined;
38
- _meta?: {
39
- [x: string]: unknown;
40
- } | undefined;
41
- };
42
- handler: (client: Profound, args: Record<string, unknown> | undefined) => Promise<import("profound-mcp/tools/types").ToolCallResult>;
43
- };
44
- export default _default;
45
- //# sourceMappingURL=answers-prompts.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"answers-prompts.d.mts","sourceRoot":"","sources":["../../src/tools/prompts/answers-prompts.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,0BAA0B;OAEjE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,QAAQ,MAAM,YAAY;AAEjC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAgTlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,+DAGxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKzF,wBAA2C"}
@@ -1,45 +0,0 @@
1
- import { Metadata } from 'profound-mcp/tools/types';
2
- import { Tool } from '@modelcontextprotocol/sdk/types.js';
3
- import Profound from 'profoundai';
4
- export declare const metadata: Metadata;
5
- export declare const tool: Tool;
6
- export declare const handler: (client: Profound, args: Record<string, unknown> | undefined) => Promise<import("profound-mcp/tools/types").ToolCallResult>;
7
- declare const _default: {
8
- metadata: Metadata;
9
- tool: {
10
- [x: string]: unknown;
11
- name: string;
12
- inputSchema: {
13
- [x: string]: unknown;
14
- type: "object";
15
- properties?: {
16
- [x: string]: unknown;
17
- } | undefined;
18
- required?: string[] | undefined;
19
- };
20
- title?: string | undefined;
21
- description?: string | undefined;
22
- outputSchema?: {
23
- [x: string]: unknown;
24
- type: "object";
25
- properties?: {
26
- [x: string]: unknown;
27
- } | undefined;
28
- required?: string[] | undefined;
29
- } | undefined;
30
- annotations?: {
31
- [x: string]: unknown;
32
- title?: string | undefined;
33
- readOnlyHint?: boolean | undefined;
34
- destructiveHint?: boolean | undefined;
35
- idempotentHint?: boolean | undefined;
36
- openWorldHint?: boolean | undefined;
37
- } | undefined;
38
- _meta?: {
39
- [x: string]: unknown;
40
- } | undefined;
41
- };
42
- handler: (client: Profound, args: Record<string, unknown> | undefined) => Promise<import("profound-mcp/tools/types").ToolCallResult>;
43
- };
44
- export default _default;
45
- //# sourceMappingURL=answers-prompts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"answers-prompts.d.ts","sourceRoot":"","sources":["../../src/tools/prompts/answers-prompts.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,0BAA0B;OAEjE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,QAAQ,MAAM,YAAY;AAEjC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAgTlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,+DAGxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKzF,wBAA2C"}