profound-mcp 0.7.1 → 0.8.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 (46) hide show
  1. package/package.json +2 -2
  2. package/server.js +1 -1
  3. package/server.mjs +1 -1
  4. package/src/server.ts +1 -1
  5. package/src/tools/logs/raw/bots-logs-raw.ts +416 -75
  6. package/src/tools/logs/raw/logs-logs-raw.ts +436 -64
  7. package/src/tools/prompts/answers-prompts.ts +181 -57
  8. package/src/tools/reports/citations-reports.ts +344 -74
  9. package/src/tools/reports/sentiment-reports.ts +257 -62
  10. package/src/tools/reports/visibility-reports.ts +215 -62
  11. package/tools/logs/raw/bots-logs-raw.d.mts.map +1 -1
  12. package/tools/logs/raw/bots-logs-raw.d.ts.map +1 -1
  13. package/tools/logs/raw/bots-logs-raw.js +416 -71
  14. package/tools/logs/raw/bots-logs-raw.js.map +1 -1
  15. package/tools/logs/raw/bots-logs-raw.mjs +416 -71
  16. package/tools/logs/raw/bots-logs-raw.mjs.map +1 -1
  17. package/tools/logs/raw/logs-logs-raw.d.mts.map +1 -1
  18. package/tools/logs/raw/logs-logs-raw.d.ts.map +1 -1
  19. package/tools/logs/raw/logs-logs-raw.js +436 -60
  20. package/tools/logs/raw/logs-logs-raw.js.map +1 -1
  21. package/tools/logs/raw/logs-logs-raw.mjs +436 -60
  22. package/tools/logs/raw/logs-logs-raw.mjs.map +1 -1
  23. package/tools/prompts/answers-prompts.d.mts.map +1 -1
  24. package/tools/prompts/answers-prompts.d.ts.map +1 -1
  25. package/tools/prompts/answers-prompts.js +181 -54
  26. package/tools/prompts/answers-prompts.js.map +1 -1
  27. package/tools/prompts/answers-prompts.mjs +181 -54
  28. package/tools/prompts/answers-prompts.mjs.map +1 -1
  29. package/tools/reports/citations-reports.d.mts.map +1 -1
  30. package/tools/reports/citations-reports.d.ts.map +1 -1
  31. package/tools/reports/citations-reports.js +344 -70
  32. package/tools/reports/citations-reports.js.map +1 -1
  33. package/tools/reports/citations-reports.mjs +344 -70
  34. package/tools/reports/citations-reports.mjs.map +1 -1
  35. package/tools/reports/sentiment-reports.d.mts.map +1 -1
  36. package/tools/reports/sentiment-reports.d.ts.map +1 -1
  37. package/tools/reports/sentiment-reports.js +257 -59
  38. package/tools/reports/sentiment-reports.js.map +1 -1
  39. package/tools/reports/sentiment-reports.mjs +257 -59
  40. package/tools/reports/sentiment-reports.mjs.map +1 -1
  41. package/tools/reports/visibility-reports.d.mts.map +1 -1
  42. package/tools/reports/visibility-reports.d.ts.map +1 -1
  43. package/tools/reports/visibility-reports.js +215 -59
  44. package/tools/reports/visibility-reports.js.map +1 -1
  45. package/tools/reports/visibility-reports.mjs +215 -59
  46. package/tools/reports/visibility-reports.mjs.map +1 -1
@@ -2,7 +2,6 @@
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.handler = exports.tool = exports.metadata = void 0;
5
- const filtering_1 = require("profound-mcp/filtering");
6
5
  const types_1 = require("profound-mcp/tools/types");
7
6
  exports.metadata = {
8
7
  resource: 'prompts',
@@ -14,7 +13,7 @@ exports.metadata = {
14
13
  };
15
14
  exports.tool = {
16
15
  name: 'answers_prompts',
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 answers for the prompts.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/prompt_answers_response',\n $defs: {\n prompt_answers_response: {\n type: 'object',\n title: 'AnswersResponse',\n description: 'Response for the answers endpoint.',\n properties: {\n data: {\n type: 'array',\n title: 'Data',\n items: {\n type: 'object',\n title: 'AnswersRawData',\n description: 'Raw data for the answers endpoint.',\n properties: {\n asset: {\n type: 'string',\n title: 'Asset'\n },\n citations: {\n type: 'array',\n title: 'Citations',\n items: {\n type: 'string'\n }\n },\n created_at: {\n type: 'string',\n title: 'Created At',\n format: 'date-time'\n },\n mentions: {\n type: 'array',\n title: 'Mentions',\n items: {\n type: 'string'\n }\n },\n model: {\n type: 'string',\n title: 'Model'\n },\n prompt: {\n type: 'string',\n title: 'Prompt'\n },\n prompt_id: {\n type: 'string',\n title: 'Prompt Id'\n },\n prompt_type: {\n type: 'string',\n title: 'Prompt Type'\n },\n region: {\n type: 'string',\n title: 'Region'\n },\n response: {\n type: 'string',\n title: 'Response'\n },\n run_id: {\n type: 'string',\n title: 'Run Id'\n },\n search_queries: {\n type: 'array',\n title: 'Search Queries',\n items: {\n type: 'string'\n }\n },\n tags: {\n type: 'array',\n title: 'Tags',\n items: {\n type: 'string'\n }\n },\n themes: {\n type: 'array',\n title: 'Themes',\n items: {\n type: 'string'\n }\n },\n topic: {\n type: 'string',\n title: 'Topic'\n }\n }\n }\n },\n info: {\n type: 'object',\n title: 'Info',\n additionalProperties: true\n }\n },\n required: [ 'data',\n 'info'\n ]\n }\n }\n}\n```",
16
+ description: 'Get the answers for the prompts.',
18
17
  inputSchema: {
19
18
  type: 'object',
20
19
  properties: {
@@ -35,60 +34,193 @@ exports.tool = {
35
34
  filters: {
36
35
  type: 'array',
37
36
  title: 'Filters',
37
+ description: 'List of filters to apply to the answers report.',
38
38
  items: {
39
- type: 'object',
40
- title: "Filter[Literal['region', 'topic', 'model', 'prompt_type', 'prompt', 'tag']]",
41
- properties: {
42
- field: {
43
- type: 'string',
44
- title: 'Field',
45
- enum: ['region', 'topic', 'model', 'prompt_type', 'prompt', 'tag'],
39
+ anyOf: [
40
+ {
41
+ type: 'object',
42
+ title: 'RegionIdFilter',
43
+ properties: {
44
+ field: {
45
+ type: 'string',
46
+ title: 'Field',
47
+ description: '- `region` - Deprecated',
48
+ enum: ['region_id', 'region'],
49
+ },
50
+ operator: {
51
+ type: 'string',
52
+ title: 'Operator',
53
+ enum: ['is', 'not_is', 'in', 'not_in'],
54
+ },
55
+ value: {
56
+ anyOf: [
57
+ {
58
+ type: 'string',
59
+ },
60
+ {
61
+ type: 'array',
62
+ items: {
63
+ type: 'string',
64
+ },
65
+ },
66
+ ],
67
+ title: 'Value',
68
+ },
69
+ },
70
+ required: ['field', 'operator', 'value'],
46
71
  },
47
- operator: {
48
- type: 'string',
49
- title: 'Operator',
50
- enum: [
51
- 'is',
52
- 'not_is',
53
- 'in',
54
- 'not_in',
55
- 'contains',
56
- 'not_contains',
57
- 'contains_case_insensitive',
58
- 'not_contains_case_insensitive',
59
- 'matches',
60
- ],
72
+ {
73
+ type: 'object',
74
+ title: 'ModelIdFilter',
75
+ properties: {
76
+ field: {
77
+ type: 'string',
78
+ title: 'Field',
79
+ description: '- `model` - Deprecated',
80
+ enum: ['model_id', 'model'],
81
+ },
82
+ operator: {
83
+ type: 'string',
84
+ title: 'Operator',
85
+ enum: ['is', 'not_is', 'in', 'not_in'],
86
+ },
87
+ value: {
88
+ anyOf: [
89
+ {
90
+ type: 'string',
91
+ },
92
+ {
93
+ type: 'array',
94
+ items: {
95
+ type: 'string',
96
+ },
97
+ },
98
+ ],
99
+ title: 'Value',
100
+ },
101
+ },
102
+ required: ['field', 'operator', 'value'],
61
103
  },
62
- value: {
63
- anyOf: [
64
- {
104
+ {
105
+ type: 'object',
106
+ title: 'TagIdFilter',
107
+ properties: {
108
+ field: {
65
109
  type: 'string',
66
- title: 'FilterStringValue',
110
+ title: 'Field',
111
+ description: '- `tag` - Deprecated',
112
+ enum: ['tag_id', 'tag'],
67
113
  },
68
- {
69
- type: 'array',
70
- title: 'FilterStringListValue',
71
- items: {
72
- type: 'string',
73
- },
114
+ operator: {
115
+ type: 'string',
116
+ title: 'Operator',
117
+ enum: ['is', 'not_is', 'in', 'not_in'],
74
118
  },
75
- {
76
- type: 'integer',
77
- title: 'FilterIntegerValue',
119
+ value: {
120
+ anyOf: [
121
+ {
122
+ type: 'string',
123
+ },
124
+ {
125
+ type: 'array',
126
+ items: {
127
+ type: 'string',
128
+ },
129
+ },
130
+ ],
131
+ title: 'Value',
78
132
  },
79
- {
80
- type: 'array',
81
- title: 'FilterIntegerListValue',
82
- items: {
83
- type: 'integer',
84
- },
133
+ },
134
+ required: ['field', 'operator', 'value'],
135
+ },
136
+ {
137
+ type: 'object',
138
+ title: 'PromptTypeFilter',
139
+ description: 'Filter by prompt type (visibility or sentiment)',
140
+ properties: {
141
+ field: {
142
+ type: 'string',
143
+ title: 'Field',
144
+ enum: ['prompt_type'],
85
145
  },
86
- ],
87
- title: 'Value',
88
- description: 'Value for the filter. Can be a single value or a list of depending on the operator.',
146
+ operator: {
147
+ type: 'string',
148
+ title: 'Operator',
149
+ enum: [
150
+ 'is',
151
+ 'not_is',
152
+ 'in',
153
+ 'not_in',
154
+ 'contains',
155
+ 'not_contains',
156
+ 'matches',
157
+ 'contains_case_insensitive',
158
+ 'not_contains_case_insensitive',
159
+ ],
160
+ },
161
+ value: {
162
+ anyOf: [
163
+ {
164
+ type: 'string',
165
+ enum: ['visibility', 'sentiment'],
166
+ },
167
+ {
168
+ type: 'array',
169
+ items: {
170
+ type: 'string',
171
+ enum: ['visibility', 'sentiment'],
172
+ },
173
+ },
174
+ ],
175
+ title: 'Value',
176
+ },
177
+ },
178
+ required: ['field', 'operator', 'value'],
89
179
  },
90
- },
91
- required: ['field', 'operator', 'value'],
180
+ {
181
+ type: 'object',
182
+ title: 'PromptFilter',
183
+ description: 'Filter by prompt text',
184
+ properties: {
185
+ field: {
186
+ type: 'string',
187
+ title: 'Field',
188
+ enum: ['prompt'],
189
+ },
190
+ operator: {
191
+ type: 'string',
192
+ title: 'Operator',
193
+ enum: [
194
+ 'is',
195
+ 'not_is',
196
+ 'in',
197
+ 'not_in',
198
+ 'contains',
199
+ 'not_contains',
200
+ 'matches',
201
+ 'contains_case_insensitive',
202
+ 'not_contains_case_insensitive',
203
+ ],
204
+ },
205
+ value: {
206
+ anyOf: [
207
+ {
208
+ type: 'string',
209
+ },
210
+ {
211
+ type: 'array',
212
+ items: {
213
+ type: 'string',
214
+ },
215
+ },
216
+ ],
217
+ title: 'Value',
218
+ },
219
+ },
220
+ required: ['field', 'operator', 'value'],
221
+ },
222
+ ],
223
+ description: 'Filter by prompt type (visibility or sentiment)',
92
224
  },
93
225
  },
94
226
  include: {
@@ -160,11 +292,6 @@ exports.tool = {
160
292
  pagination: {
161
293
  $ref: '#/$defs/pagination',
162
294
  },
163
- jq_filter: {
164
- type: 'string',
165
- title: 'jq Filter',
166
- 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/).',
167
- },
168
295
  },
169
296
  required: ['category_id', 'end_date', 'start_date'],
170
297
  $defs: {
@@ -190,8 +317,8 @@ exports.tool = {
190
317
  annotations: {},
191
318
  };
192
319
  const handler = async (client, args) => {
193
- const { jq_filter, ...body } = args;
194
- return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.prompts.answers(body)));
320
+ const body = args;
321
+ return (0, types_1.asTextContentResult)(await client.prompts.answers(body));
195
322
  };
196
323
  exports.handler = handler;
197
324
  exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
@@ -1 +1 @@
1
- {"version":3,"file":"answers-prompts.js","sourceRoot":"","sources":["../../src/tools/prompts/answers-prompts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAAqD;AACrD,oDAAyE;AAK5D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,qBAAqB;IAC/B,WAAW,EAAE,qCAAqC;CACnD,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,iBAAiB;IACvB,WAAW,EACT,w/FAAw/F;IAC1/F,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,aAAa;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,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -1,5 +1,4 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { maybeFilter } from 'profound-mcp/filtering';
3
2
  import { asTextContentResult } from 'profound-mcp/tools/types';
4
3
  export const metadata = {
5
4
  resource: 'prompts',
@@ -11,7 +10,7 @@ export const metadata = {
11
10
  };
12
11
  export const tool = {
13
12
  name: 'answers_prompts',
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 answers for the prompts.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/prompt_answers_response',\n $defs: {\n prompt_answers_response: {\n type: 'object',\n title: 'AnswersResponse',\n description: 'Response for the answers endpoint.',\n properties: {\n data: {\n type: 'array',\n title: 'Data',\n items: {\n type: 'object',\n title: 'AnswersRawData',\n description: 'Raw data for the answers endpoint.',\n properties: {\n asset: {\n type: 'string',\n title: 'Asset'\n },\n citations: {\n type: 'array',\n title: 'Citations',\n items: {\n type: 'string'\n }\n },\n created_at: {\n type: 'string',\n title: 'Created At',\n format: 'date-time'\n },\n mentions: {\n type: 'array',\n title: 'Mentions',\n items: {\n type: 'string'\n }\n },\n model: {\n type: 'string',\n title: 'Model'\n },\n prompt: {\n type: 'string',\n title: 'Prompt'\n },\n prompt_id: {\n type: 'string',\n title: 'Prompt Id'\n },\n prompt_type: {\n type: 'string',\n title: 'Prompt Type'\n },\n region: {\n type: 'string',\n title: 'Region'\n },\n response: {\n type: 'string',\n title: 'Response'\n },\n run_id: {\n type: 'string',\n title: 'Run Id'\n },\n search_queries: {\n type: 'array',\n title: 'Search Queries',\n items: {\n type: 'string'\n }\n },\n tags: {\n type: 'array',\n title: 'Tags',\n items: {\n type: 'string'\n }\n },\n themes: {\n type: 'array',\n title: 'Themes',\n items: {\n type: 'string'\n }\n },\n topic: {\n type: 'string',\n title: 'Topic'\n }\n }\n }\n },\n info: {\n type: 'object',\n title: 'Info',\n additionalProperties: true\n }\n },\n required: [ 'data',\n 'info'\n ]\n }\n }\n}\n```",
13
+ description: 'Get the answers for the prompts.',
15
14
  inputSchema: {
16
15
  type: 'object',
17
16
  properties: {
@@ -32,60 +31,193 @@ export const tool = {
32
31
  filters: {
33
32
  type: 'array',
34
33
  title: 'Filters',
34
+ description: 'List of filters to apply to the answers report.',
35
35
  items: {
36
- type: 'object',
37
- title: "Filter[Literal['region', 'topic', 'model', 'prompt_type', 'prompt', 'tag']]",
38
- properties: {
39
- field: {
40
- type: 'string',
41
- title: 'Field',
42
- enum: ['region', 'topic', 'model', 'prompt_type', 'prompt', 'tag'],
36
+ anyOf: [
37
+ {
38
+ type: 'object',
39
+ title: 'RegionIdFilter',
40
+ properties: {
41
+ field: {
42
+ type: 'string',
43
+ title: 'Field',
44
+ description: '- `region` - Deprecated',
45
+ enum: ['region_id', 'region'],
46
+ },
47
+ operator: {
48
+ type: 'string',
49
+ title: 'Operator',
50
+ enum: ['is', 'not_is', 'in', 'not_in'],
51
+ },
52
+ value: {
53
+ anyOf: [
54
+ {
55
+ type: 'string',
56
+ },
57
+ {
58
+ type: 'array',
59
+ items: {
60
+ type: 'string',
61
+ },
62
+ },
63
+ ],
64
+ title: 'Value',
65
+ },
66
+ },
67
+ required: ['field', 'operator', 'value'],
43
68
  },
44
- operator: {
45
- type: 'string',
46
- title: 'Operator',
47
- enum: [
48
- 'is',
49
- 'not_is',
50
- 'in',
51
- 'not_in',
52
- 'contains',
53
- 'not_contains',
54
- 'contains_case_insensitive',
55
- 'not_contains_case_insensitive',
56
- 'matches',
57
- ],
69
+ {
70
+ type: 'object',
71
+ title: 'ModelIdFilter',
72
+ properties: {
73
+ field: {
74
+ type: 'string',
75
+ title: 'Field',
76
+ description: '- `model` - Deprecated',
77
+ enum: ['model_id', 'model'],
78
+ },
79
+ operator: {
80
+ type: 'string',
81
+ title: 'Operator',
82
+ enum: ['is', 'not_is', 'in', 'not_in'],
83
+ },
84
+ value: {
85
+ anyOf: [
86
+ {
87
+ type: 'string',
88
+ },
89
+ {
90
+ type: 'array',
91
+ items: {
92
+ type: 'string',
93
+ },
94
+ },
95
+ ],
96
+ title: 'Value',
97
+ },
98
+ },
99
+ required: ['field', 'operator', 'value'],
58
100
  },
59
- value: {
60
- anyOf: [
61
- {
101
+ {
102
+ type: 'object',
103
+ title: 'TagIdFilter',
104
+ properties: {
105
+ field: {
62
106
  type: 'string',
63
- title: 'FilterStringValue',
107
+ title: 'Field',
108
+ description: '- `tag` - Deprecated',
109
+ enum: ['tag_id', 'tag'],
64
110
  },
65
- {
66
- type: 'array',
67
- title: 'FilterStringListValue',
68
- items: {
69
- type: 'string',
70
- },
111
+ operator: {
112
+ type: 'string',
113
+ title: 'Operator',
114
+ enum: ['is', 'not_is', 'in', 'not_in'],
71
115
  },
72
- {
73
- type: 'integer',
74
- title: 'FilterIntegerValue',
116
+ value: {
117
+ anyOf: [
118
+ {
119
+ type: 'string',
120
+ },
121
+ {
122
+ type: 'array',
123
+ items: {
124
+ type: 'string',
125
+ },
126
+ },
127
+ ],
128
+ title: 'Value',
75
129
  },
76
- {
77
- type: 'array',
78
- title: 'FilterIntegerListValue',
79
- items: {
80
- type: 'integer',
81
- },
130
+ },
131
+ required: ['field', 'operator', 'value'],
132
+ },
133
+ {
134
+ type: 'object',
135
+ title: 'PromptTypeFilter',
136
+ description: 'Filter by prompt type (visibility or sentiment)',
137
+ properties: {
138
+ field: {
139
+ type: 'string',
140
+ title: 'Field',
141
+ enum: ['prompt_type'],
82
142
  },
83
- ],
84
- title: 'Value',
85
- description: 'Value for the filter. Can be a single value or a list of depending on the operator.',
143
+ operator: {
144
+ type: 'string',
145
+ title: 'Operator',
146
+ enum: [
147
+ 'is',
148
+ 'not_is',
149
+ 'in',
150
+ 'not_in',
151
+ 'contains',
152
+ 'not_contains',
153
+ 'matches',
154
+ 'contains_case_insensitive',
155
+ 'not_contains_case_insensitive',
156
+ ],
157
+ },
158
+ value: {
159
+ anyOf: [
160
+ {
161
+ type: 'string',
162
+ enum: ['visibility', 'sentiment'],
163
+ },
164
+ {
165
+ type: 'array',
166
+ items: {
167
+ type: 'string',
168
+ enum: ['visibility', 'sentiment'],
169
+ },
170
+ },
171
+ ],
172
+ title: 'Value',
173
+ },
174
+ },
175
+ required: ['field', 'operator', 'value'],
86
176
  },
87
- },
88
- required: ['field', 'operator', 'value'],
177
+ {
178
+ type: 'object',
179
+ title: 'PromptFilter',
180
+ description: 'Filter by prompt text',
181
+ properties: {
182
+ field: {
183
+ type: 'string',
184
+ title: 'Field',
185
+ enum: ['prompt'],
186
+ },
187
+ operator: {
188
+ type: 'string',
189
+ title: 'Operator',
190
+ enum: [
191
+ 'is',
192
+ 'not_is',
193
+ 'in',
194
+ 'not_in',
195
+ 'contains',
196
+ 'not_contains',
197
+ 'matches',
198
+ 'contains_case_insensitive',
199
+ 'not_contains_case_insensitive',
200
+ ],
201
+ },
202
+ value: {
203
+ anyOf: [
204
+ {
205
+ type: 'string',
206
+ },
207
+ {
208
+ type: 'array',
209
+ items: {
210
+ type: 'string',
211
+ },
212
+ },
213
+ ],
214
+ title: 'Value',
215
+ },
216
+ },
217
+ required: ['field', 'operator', 'value'],
218
+ },
219
+ ],
220
+ description: 'Filter by prompt type (visibility or sentiment)',
89
221
  },
90
222
  },
91
223
  include: {
@@ -157,11 +289,6 @@ export const tool = {
157
289
  pagination: {
158
290
  $ref: '#/$defs/pagination',
159
291
  },
160
- jq_filter: {
161
- type: 'string',
162
- title: 'jq Filter',
163
- 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/).',
164
- },
165
292
  },
166
293
  required: ['category_id', 'end_date', 'start_date'],
167
294
  $defs: {
@@ -187,8 +314,8 @@ export const tool = {
187
314
  annotations: {},
188
315
  };
189
316
  export const handler = async (client, args) => {
190
- const { jq_filter, ...body } = args;
191
- return asTextContentResult(await maybeFilter(jq_filter, await client.prompts.answers(body)));
317
+ const body = args;
318
+ return asTextContentResult(await client.prompts.answers(body));
192
319
  };
193
320
  export default { metadata, tool, handler };
194
321
  //# sourceMappingURL=answers-prompts.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"answers-prompts.mjs","sourceRoot":"","sources":["../../src/tools/prompts/answers-prompts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,wBAAwB;OAC7C,EAAY,mBAAmB,EAAE,MAAM,0BAA0B;AAKxE,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,qBAAqB;IAC/B,WAAW,EAAE,qCAAqC;CACnD,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,iBAAiB;IACvB,WAAW,EACT,w/FAAw/F;IAC1/F,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,aAAa;aACrB;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,UAAU;gBACjB,MAAM,EAAE,WAAW;aACpB;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,YAAY;gBACnB,MAAM,EAAE,WAAW;aACpB;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,SAAS;gBAChB,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,KAAK,EAAE,6EAA6E;oBACpF,UAAU,EAAE;wBACV,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;4BACd,KAAK,EAA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AAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKzF,wBAA2C"}
1
+ {"version":3,"file":"citations-reports.d.mts","sourceRoot":"","sources":["../../src/tools/reports/citations-reports.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,IAyblB,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 +1 @@
1
- {"version":3,"file":"citations-reports.d.ts","sourceRoot":"","sources":["../../src/tools/reports/citations-reports.ts"],"names":[],"mappings":"OAGO,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,IA0KlB,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
+ {"version":3,"file":"citations-reports.d.ts","sourceRoot":"","sources":["../../src/tools/reports/citations-reports.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,IAyblB,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"}