profound-mcp 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +231 -0
- package/code-tool-paths.cjs +6 -0
- package/code-tool-paths.cjs.map +1 -0
- package/code-tool-paths.d.cts +2 -0
- package/code-tool-paths.d.cts.map +1 -0
- package/code-tool-types.d.mts +14 -0
- package/code-tool-types.d.mts.map +1 -0
- package/code-tool-types.d.ts +14 -0
- package/code-tool-types.d.ts.map +1 -0
- package/code-tool-types.js +4 -0
- package/code-tool-types.js.map +1 -0
- package/code-tool-types.mjs +3 -0
- package/code-tool-types.mjs.map +1 -0
- package/code-tool-worker.d.mts +5 -0
- package/code-tool-worker.d.mts.map +1 -0
- package/code-tool-worker.d.ts +5 -0
- package/code-tool-worker.d.ts.map +1 -0
- package/code-tool-worker.js +45 -0
- package/code-tool-worker.js.map +1 -0
- package/code-tool-worker.mjs +40 -0
- package/code-tool-worker.mjs.map +1 -0
- package/code-tool.d.mts +12 -0
- package/code-tool.d.mts.map +1 -0
- package/code-tool.d.ts +12 -0
- package/code-tool.d.ts.map +1 -0
- package/code-tool.js +157 -0
- package/code-tool.js.map +1 -0
- package/code-tool.mjs +121 -0
- package/code-tool.mjs.map +1 -0
- package/compat.d.mts +58 -0
- package/compat.d.mts.map +1 -0
- package/compat.d.ts +58 -0
- package/compat.d.ts.map +1 -0
- package/compat.js +387 -0
- package/compat.js.map +1 -0
- package/compat.mjs +378 -0
- package/compat.mjs.map +1 -0
- package/docs-search-tool.d.mts +44 -0
- package/docs-search-tool.d.mts.map +1 -0
- package/docs-search-tool.d.ts +44 -0
- package/docs-search-tool.d.ts.map +1 -0
- package/docs-search-tool.js +43 -0
- package/docs-search-tool.js.map +1 -0
- package/docs-search-tool.mjs +39 -0
- package/docs-search-tool.mjs.map +1 -0
- package/dynamic-tools.d.mts +12 -0
- package/dynamic-tools.d.mts.map +1 -0
- package/dynamic-tools.d.ts +12 -0
- package/dynamic-tools.d.ts.map +1 -0
- package/dynamic-tools.js +135 -0
- package/dynamic-tools.js.map +1 -0
- package/dynamic-tools.mjs +132 -0
- package/dynamic-tools.mjs.map +1 -0
- package/filtering.d.mts +2 -0
- package/filtering.d.mts.map +1 -0
- package/filtering.d.ts +2 -0
- package/filtering.d.ts.map +1 -0
- package/filtering.js +20 -0
- package/filtering.js.map +1 -0
- package/filtering.mjs +13 -0
- package/filtering.mjs.map +1 -0
- package/headers.d.mts +4 -0
- package/headers.d.mts.map +1 -0
- package/headers.d.ts +4 -0
- package/headers.d.ts.map +1 -0
- package/headers.js +10 -0
- package/headers.js.map +1 -0
- package/headers.mjs +6 -0
- package/headers.mjs.map +1 -0
- package/http.d.mts +9 -0
- package/http.d.mts.map +1 -0
- package/http.d.ts +9 -0
- package/http.d.ts.map +1 -0
- package/http.js +108 -0
- package/http.js.map +1 -0
- package/http.mjs +100 -0
- package/http.mjs.map +1 -0
- package/index.d.mts +3 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -0
- package/index.js +91 -0
- package/index.js.map +1 -0
- package/index.mjs +89 -0
- package/index.mjs.map +1 -0
- package/options.d.mts +20 -0
- package/options.d.mts.map +1 -0
- package/options.d.ts +20 -0
- package/options.d.ts.map +1 -0
- package/options.js +424 -0
- package/options.js.map +1 -0
- package/options.mjs +417 -0
- package/options.mjs.map +1 -0
- package/package.json +216 -0
- package/server.d.mts +35 -0
- package/server.d.mts.map +1 -0
- package/server.d.ts +35 -0
- package/server.d.ts.map +1 -0
- package/server.js +174 -0
- package/server.js.map +1 -0
- package/server.mjs +160 -0
- package/server.mjs.map +1 -0
- package/src/code-tool-paths.cts +3 -0
- package/src/code-tool-types.ts +14 -0
- package/src/code-tool-worker.ts +46 -0
- package/src/code-tool.ts +146 -0
- package/src/compat.ts +483 -0
- package/src/docs-search-tool.ts +48 -0
- package/src/dynamic-tools.ts +153 -0
- package/src/filtering.ts +14 -0
- package/src/headers.ts +10 -0
- package/src/http.ts +127 -0
- package/src/index.ts +108 -0
- package/src/options.ts +466 -0
- package/src/server.ts +207 -0
- package/src/stdio.ts +13 -0
- package/src/tools/index.ts +95 -0
- package/src/tools/logs/raw/bots-logs-raw.ts +196 -0
- package/src/tools/logs/raw/logs-logs-raw.ts +186 -0
- package/src/tools/organizations/categories/list-organizations-categories.ts +44 -0
- package/src/tools/organizations/categories/prompts-organizations-categories.ts +50 -0
- package/src/tools/organizations/categories/tags-organizations-categories.ts +50 -0
- package/src/tools/organizations/categories/topics-organizations-categories.ts +50 -0
- package/src/tools/organizations/domains-organizations.ts +44 -0
- package/src/tools/organizations/models-organizations.ts +44 -0
- package/src/tools/organizations/regions-organizations.ts +44 -0
- package/src/tools/prompts/answers-prompts.ts +200 -0
- package/src/tools/reports/citations-reports.ts +173 -0
- package/src/tools/reports/sentiment-reports.ts +173 -0
- package/src/tools/reports/visibility-reports.ts +173 -0
- package/src/tools/types.ts +103 -0
- package/src/tools.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/stdio.d.mts +3 -0
- package/stdio.d.mts.map +1 -0
- package/stdio.d.ts +3 -0
- package/stdio.d.ts.map +1 -0
- package/stdio.js +14 -0
- package/stdio.js.map +1 -0
- package/stdio.mjs +10 -0
- package/stdio.mjs.map +1 -0
- package/tools/index.d.mts +10 -0
- package/tools/index.d.mts.map +1 -0
- package/tools/index.d.ts +10 -0
- package/tools/index.d.ts.map +1 -0
- package/tools/index.js +79 -0
- package/tools/index.js.map +1 -0
- package/tools/index.mjs +72 -0
- package/tools/index.mjs.map +1 -0
- package/tools/logs/raw/bots-logs-raw.d.mts +45 -0
- package/tools/logs/raw/bots-logs-raw.d.mts.map +1 -0
- package/tools/logs/raw/bots-logs-raw.d.ts +45 -0
- package/tools/logs/raw/bots-logs-raw.d.ts.map +1 -0
- package/tools/logs/raw/bots-logs-raw.js +187 -0
- package/tools/logs/raw/bots-logs-raw.js.map +1 -0
- package/tools/logs/raw/bots-logs-raw.mjs +183 -0
- package/tools/logs/raw/bots-logs-raw.mjs.map +1 -0
- package/tools/logs/raw/logs-logs-raw.d.mts +45 -0
- package/tools/logs/raw/logs-logs-raw.d.mts.map +1 -0
- package/tools/logs/raw/logs-logs-raw.d.ts +45 -0
- package/tools/logs/raw/logs-logs-raw.d.ts.map +1 -0
- package/tools/logs/raw/logs-logs-raw.js +177 -0
- package/tools/logs/raw/logs-logs-raw.js.map +1 -0
- package/tools/logs/raw/logs-logs-raw.mjs +173 -0
- package/tools/logs/raw/logs-logs-raw.mjs.map +1 -0
- package/tools/organizations/categories/list-organizations-categories.d.mts +45 -0
- package/tools/organizations/categories/list-organizations-categories.d.mts.map +1 -0
- package/tools/organizations/categories/list-organizations-categories.d.ts +45 -0
- package/tools/organizations/categories/list-organizations-categories.d.ts.map +1 -0
- package/tools/organizations/categories/list-organizations-categories.js +39 -0
- package/tools/organizations/categories/list-organizations-categories.js.map +1 -0
- package/tools/organizations/categories/list-organizations-categories.mjs +35 -0
- package/tools/organizations/categories/list-organizations-categories.mjs.map +1 -0
- package/tools/organizations/categories/prompts-organizations-categories.d.mts +45 -0
- package/tools/organizations/categories/prompts-organizations-categories.d.mts.map +1 -0
- package/tools/organizations/categories/prompts-organizations-categories.d.ts +45 -0
- package/tools/organizations/categories/prompts-organizations-categories.d.ts.map +1 -0
- package/tools/organizations/categories/prompts-organizations-categories.js +43 -0
- package/tools/organizations/categories/prompts-organizations-categories.js.map +1 -0
- package/tools/organizations/categories/prompts-organizations-categories.mjs +39 -0
- package/tools/organizations/categories/prompts-organizations-categories.mjs.map +1 -0
- package/tools/organizations/categories/tags-organizations-categories.d.mts +45 -0
- package/tools/organizations/categories/tags-organizations-categories.d.mts.map +1 -0
- package/tools/organizations/categories/tags-organizations-categories.d.ts +45 -0
- package/tools/organizations/categories/tags-organizations-categories.d.ts.map +1 -0
- package/tools/organizations/categories/tags-organizations-categories.js +43 -0
- package/tools/organizations/categories/tags-organizations-categories.js.map +1 -0
- package/tools/organizations/categories/tags-organizations-categories.mjs +39 -0
- package/tools/organizations/categories/tags-organizations-categories.mjs.map +1 -0
- package/tools/organizations/categories/topics-organizations-categories.d.mts +45 -0
- package/tools/organizations/categories/topics-organizations-categories.d.mts.map +1 -0
- package/tools/organizations/categories/topics-organizations-categories.d.ts +45 -0
- package/tools/organizations/categories/topics-organizations-categories.d.ts.map +1 -0
- package/tools/organizations/categories/topics-organizations-categories.js +43 -0
- package/tools/organizations/categories/topics-organizations-categories.js.map +1 -0
- package/tools/organizations/categories/topics-organizations-categories.mjs +39 -0
- package/tools/organizations/categories/topics-organizations-categories.mjs.map +1 -0
- package/tools/organizations/domains-organizations.d.mts +45 -0
- package/tools/organizations/domains-organizations.d.mts.map +1 -0
- package/tools/organizations/domains-organizations.d.ts +45 -0
- package/tools/organizations/domains-organizations.d.ts.map +1 -0
- package/tools/organizations/domains-organizations.js +39 -0
- package/tools/organizations/domains-organizations.js.map +1 -0
- package/tools/organizations/domains-organizations.mjs +35 -0
- package/tools/organizations/domains-organizations.mjs.map +1 -0
- package/tools/organizations/models-organizations.d.mts +45 -0
- package/tools/organizations/models-organizations.d.mts.map +1 -0
- package/tools/organizations/models-organizations.d.ts +45 -0
- package/tools/organizations/models-organizations.d.ts.map +1 -0
- package/tools/organizations/models-organizations.js +39 -0
- package/tools/organizations/models-organizations.js.map +1 -0
- package/tools/organizations/models-organizations.mjs +35 -0
- package/tools/organizations/models-organizations.mjs.map +1 -0
- package/tools/organizations/regions-organizations.d.mts +45 -0
- package/tools/organizations/regions-organizations.d.mts.map +1 -0
- package/tools/organizations/regions-organizations.d.ts +45 -0
- package/tools/organizations/regions-organizations.d.ts.map +1 -0
- package/tools/organizations/regions-organizations.js +39 -0
- package/tools/organizations/regions-organizations.js.map +1 -0
- package/tools/organizations/regions-organizations.mjs +35 -0
- package/tools/organizations/regions-organizations.mjs.map +1 -0
- package/tools/prompts/answers-prompts.d.mts +45 -0
- package/tools/prompts/answers-prompts.d.mts.map +1 -0
- package/tools/prompts/answers-prompts.d.ts +45 -0
- package/tools/prompts/answers-prompts.d.ts.map +1 -0
- package/tools/prompts/answers-prompts.js +194 -0
- package/tools/prompts/answers-prompts.js.map +1 -0
- package/tools/prompts/answers-prompts.mjs +190 -0
- package/tools/prompts/answers-prompts.mjs.map +1 -0
- package/tools/reports/citations-reports.d.mts +45 -0
- package/tools/reports/citations-reports.d.mts.map +1 -0
- package/tools/reports/citations-reports.d.ts +45 -0
- package/tools/reports/citations-reports.d.ts.map +1 -0
- package/tools/reports/citations-reports.js +164 -0
- package/tools/reports/citations-reports.js.map +1 -0
- package/tools/reports/citations-reports.mjs +160 -0
- package/tools/reports/citations-reports.mjs.map +1 -0
- package/tools/reports/sentiment-reports.d.mts +45 -0
- package/tools/reports/sentiment-reports.d.mts.map +1 -0
- package/tools/reports/sentiment-reports.d.ts +45 -0
- package/tools/reports/sentiment-reports.d.ts.map +1 -0
- package/tools/reports/sentiment-reports.js +164 -0
- package/tools/reports/sentiment-reports.js.map +1 -0
- package/tools/reports/sentiment-reports.mjs +160 -0
- package/tools/reports/sentiment-reports.mjs.map +1 -0
- package/tools/reports/visibility-reports.d.mts +45 -0
- package/tools/reports/visibility-reports.d.mts.map +1 -0
- package/tools/reports/visibility-reports.d.ts +45 -0
- package/tools/reports/visibility-reports.d.ts.map +1 -0
- package/tools/reports/visibility-reports.js +164 -0
- package/tools/reports/visibility-reports.js.map +1 -0
- package/tools/reports/visibility-reports.mjs +160 -0
- package/tools/reports/visibility-reports.mjs.map +1 -0
- package/tools/types.d.mts +51 -0
- package/tools/types.d.mts.map +1 -0
- package/tools/types.d.ts +51 -0
- package/tools/types.d.ts.map +1 -0
- package/tools/types.js +46 -0
- package/tools/types.js.map +1 -0
- package/tools/types.mjs +42 -0
- package/tools/types.mjs.map +1 -0
- package/tools.d.mts +2 -0
- package/tools.d.mts.map +1 -0
- package/tools.d.ts +2 -0
- package/tools.d.ts.map +1 -0
- package/tools.js +18 -0
- package/tools.js.map +1 -0
- package/tools.mjs +2 -0
- package/tools.mjs.map +1 -0
|
@@ -0,0 +1,187 @@
|
|
|
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: 'logs.raw',
|
|
9
|
+
operation: 'write',
|
|
10
|
+
tags: [],
|
|
11
|
+
httpMethod: 'post',
|
|
12
|
+
httpPath: '/v1/logs/raw/bots',
|
|
13
|
+
operationId: 'get_bots_v1_logs_raw_bots_post',
|
|
14
|
+
};
|
|
15
|
+
exports.tool = {
|
|
16
|
+
name: 'bots_logs_raw',
|
|
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 identified bot logs with filters\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/raw_bots_response',\n $defs: {\n raw_bots_response: {\n anyOf: [ {\n type: 'array',\n title: 'LogVisitBotList',\n items: {\n type: 'object',\n title: 'LogVisitBot',\n description: 'DB Model for a bot visit.',\n properties: {\n bot_name: {\n type: 'string',\n title: 'Bot Name'\n },\n bot_provider: {\n type: 'string',\n title: 'Bot Provider'\n },\n bot_types: {\n type: 'array',\n title: 'Bot Types',\n items: {\n type: 'string',\n enum: [ 'ai_assistant',\n 'ai_training',\n 'index'\n ]\n }\n },\n host: {\n type: 'string',\n title: 'Host'\n },\n ip: {\n type: 'string',\n title: 'Ip'\n },\n method: {\n type: 'string',\n title: 'Method'\n },\n org_id: {\n type: 'string',\n title: 'Org Id'\n },\n path: {\n type: 'string',\n title: 'Path'\n },\n status_code: {\n type: 'integer',\n title: 'Status Code'\n },\n timestamp: {\n type: 'string',\n title: 'Timestamp',\n format: 'date-time'\n },\n user_agent: {\n type: 'string',\n title: 'User Agent'\n },\n bytes_sent: {\n type: 'integer',\n title: 'Bytes Sent'\n },\n duration_ms: {\n type: 'integer',\n title: 'Duration Ms'\n },\n query_params: {\n type: 'object',\n title: 'Query Params',\n additionalProperties: true\n },\n referer: {\n type: 'string',\n title: 'Referer'\n }\n },\n required: [ 'bot_name',\n 'bot_provider',\n 'bot_types',\n 'host',\n 'ip',\n 'method',\n 'org_id',\n 'path',\n 'status_code',\n 'timestamp',\n 'user_agent'\n ]\n }\n },\n {\n $ref: '#/$defs/report_response'\n }\n ],\n title: 'Response Get Bots V1 Logs Raw Bots Post',\n description: 'Base response model for reports.'\n },\n report_response: {\n type: 'object',\n title: 'Response',\n description: 'Base response model for reports.',\n properties: {\n data: {\n type: 'array',\n title: 'Data',\n items: {\n $ref: '#/$defs/report_result'\n }\n },\n info: {\n $ref: '#/$defs/report_info'\n }\n },\n required: [ 'data',\n 'info'\n ]\n },\n report_result: {\n type: 'object',\n title: 'Result',\n description: 'Base model for report results.',\n properties: {\n dimensions: {\n type: 'array',\n title: 'Dimensions',\n items: {\n type: 'string'\n }\n },\n metrics: {\n type: 'array',\n title: 'Metrics',\n items: {\n type: 'number'\n }\n }\n },\n required: [ 'dimensions',\n 'metrics'\n ]\n },\n report_info: {\n type: 'object',\n title: 'Info',\n description: 'Base model for report information.',\n properties: {\n total_rows: {\n type: 'integer',\n title: 'Total Rows'\n },\n query: {\n type: 'object',\n title: 'Query',\n additionalProperties: true\n }\n },\n required: [ 'total_rows'\n ]\n }\n }\n}\n```",
|
|
18
|
+
inputSchema: {
|
|
19
|
+
type: 'object',
|
|
20
|
+
properties: {
|
|
21
|
+
domain: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
title: 'Domain',
|
|
24
|
+
description: 'Domain to query logs for.',
|
|
25
|
+
},
|
|
26
|
+
metrics: {
|
|
27
|
+
type: 'array',
|
|
28
|
+
title: 'Metrics',
|
|
29
|
+
items: {
|
|
30
|
+
type: 'string',
|
|
31
|
+
enum: ['count'],
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
start_date: {
|
|
35
|
+
type: 'string',
|
|
36
|
+
title: 'Start Date',
|
|
37
|
+
description: 'Start date for logs. Accepts: YYYY-MM-DD, YYYY-MM-DD HH:MM, YYYY-MM-DD HH:MM:SS, or full ISO timestamp.',
|
|
38
|
+
format: 'date-time',
|
|
39
|
+
},
|
|
40
|
+
date_interval: {
|
|
41
|
+
type: 'string',
|
|
42
|
+
title: 'Date Interval',
|
|
43
|
+
description: 'Date interval for the report. (only used with date dimension)',
|
|
44
|
+
enum: ['day', 'week', 'month', 'year'],
|
|
45
|
+
},
|
|
46
|
+
dimensions: {
|
|
47
|
+
type: 'array',
|
|
48
|
+
title: 'Dimensions',
|
|
49
|
+
description: 'Dimensions to group the report by.',
|
|
50
|
+
items: {
|
|
51
|
+
type: 'string',
|
|
52
|
+
enum: [
|
|
53
|
+
'method',
|
|
54
|
+
'path',
|
|
55
|
+
'status_code',
|
|
56
|
+
'ip',
|
|
57
|
+
'user_agent',
|
|
58
|
+
'referer',
|
|
59
|
+
'query_params',
|
|
60
|
+
'bot_name',
|
|
61
|
+
'bot_provider',
|
|
62
|
+
'bot_types',
|
|
63
|
+
],
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
end_date: {
|
|
67
|
+
type: 'string',
|
|
68
|
+
title: 'End Date',
|
|
69
|
+
description: 'End date for logs. Accepts same formats as start_date. Defaults to now if omitted.',
|
|
70
|
+
format: 'date-time',
|
|
71
|
+
},
|
|
72
|
+
filters: {
|
|
73
|
+
type: 'array',
|
|
74
|
+
title: 'Filters',
|
|
75
|
+
description: 'List of filters to apply to the report. Each filter has an operator, field, and value.',
|
|
76
|
+
items: {
|
|
77
|
+
type: 'object',
|
|
78
|
+
title: "Filter[Literal['method', 'path', 'status_code', 'ip', 'user_agent', 'referer', 'query_params', 'bot_name', 'bot_provider', 'bot_types']]",
|
|
79
|
+
properties: {
|
|
80
|
+
field: {
|
|
81
|
+
type: 'string',
|
|
82
|
+
title: 'Field',
|
|
83
|
+
enum: [
|
|
84
|
+
'method',
|
|
85
|
+
'path',
|
|
86
|
+
'status_code',
|
|
87
|
+
'ip',
|
|
88
|
+
'user_agent',
|
|
89
|
+
'referer',
|
|
90
|
+
'query_params',
|
|
91
|
+
'bot_name',
|
|
92
|
+
'bot_provider',
|
|
93
|
+
'bot_types',
|
|
94
|
+
],
|
|
95
|
+
},
|
|
96
|
+
operator: {
|
|
97
|
+
type: 'string',
|
|
98
|
+
title: 'Operator',
|
|
99
|
+
enum: [
|
|
100
|
+
'is',
|
|
101
|
+
'not_is',
|
|
102
|
+
'in',
|
|
103
|
+
'not_in',
|
|
104
|
+
'contains',
|
|
105
|
+
'not_contains',
|
|
106
|
+
'contains_case_insensitive',
|
|
107
|
+
'not_contains_case_insensitive',
|
|
108
|
+
'matches',
|
|
109
|
+
],
|
|
110
|
+
},
|
|
111
|
+
value: {
|
|
112
|
+
anyOf: [
|
|
113
|
+
{
|
|
114
|
+
type: 'string',
|
|
115
|
+
title: 'FilterStringValue',
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
type: 'array',
|
|
119
|
+
title: 'FilterStringListValue',
|
|
120
|
+
items: {
|
|
121
|
+
type: 'string',
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
type: 'integer',
|
|
126
|
+
title: 'FilterIntegerValue',
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
type: 'array',
|
|
130
|
+
title: 'FilterIntegerListValue',
|
|
131
|
+
items: {
|
|
132
|
+
type: 'integer',
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
title: 'Value',
|
|
137
|
+
description: 'Value for the filter. Can be a single value or a list of depending on the operator.',
|
|
138
|
+
},
|
|
139
|
+
},
|
|
140
|
+
required: ['field', 'operator', 'value'],
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
order_by: {
|
|
144
|
+
type: 'object',
|
|
145
|
+
title: 'Order By',
|
|
146
|
+
description: "\nCustom ordering of the report results.\n\nThe order is a record of key-value pairs where:\n- key is the field to order by, which can be a metric or dimension\n- value is the direction of the order, either 'asc' for ascending or 'desc' for descending.\n\nWhen not specified, the default order is the first metric in the query descending.\n ",
|
|
147
|
+
additionalProperties: true,
|
|
148
|
+
},
|
|
149
|
+
pagination: {
|
|
150
|
+
$ref: '#/$defs/pagination',
|
|
151
|
+
},
|
|
152
|
+
jq_filter: {
|
|
153
|
+
type: 'string',
|
|
154
|
+
title: 'jq Filter',
|
|
155
|
+
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/).',
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
required: ['domain', 'metrics', 'start_date'],
|
|
159
|
+
$defs: {
|
|
160
|
+
pagination: {
|
|
161
|
+
type: 'object',
|
|
162
|
+
title: 'Pagination',
|
|
163
|
+
description: 'Report pagination model.',
|
|
164
|
+
properties: {
|
|
165
|
+
limit: {
|
|
166
|
+
type: 'integer',
|
|
167
|
+
title: 'Limit',
|
|
168
|
+
description: 'Maximum number of results to return. Default is 10,000, maximum is 50,000.',
|
|
169
|
+
},
|
|
170
|
+
offset: {
|
|
171
|
+
type: 'integer',
|
|
172
|
+
title: 'Offset',
|
|
173
|
+
description: 'Offset for the results. Used for pagination.',
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
annotations: {},
|
|
180
|
+
};
|
|
181
|
+
const handler = async (client, args) => {
|
|
182
|
+
const { jq_filter, ...body } = args;
|
|
183
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.logs.raw.bots(body)));
|
|
184
|
+
};
|
|
185
|
+
exports.handler = handler;
|
|
186
|
+
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
187
|
+
//# sourceMappingURL=bots-logs-raw.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bots-logs-raw.js","sourceRoot":"","sources":["../../../src/tools/logs/raw/bots-logs-raw.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAAqD;AACrD,oDAAyE;AAK5D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,mBAAmB;IAC7B,WAAW,EAAE,gCAAgC;CAC9C,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,eAAe;IACrB,WAAW,EACT,i9IAAi9I;IACn9I,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,2BAA2B;aACzC;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,SAAS;gBAChB,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,OAAO,CAAC;iBAChB;aACF;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,YAAY;gBACnB,WAAW,EACT,yGAAyG;gBAC3G,MAAM,EAAE,WAAW;aACpB;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,eAAe;gBACtB,WAAW,EAAE,+DAA+D;gBAC5E,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC;aACvC;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,YAAY;gBACnB,WAAW,EAAE,oCAAoC;gBACjD,KA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AAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC7F,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { maybeFilter } from 'profound-mcp/filtering';
|
|
3
|
+
import { asTextContentResult } from 'profound-mcp/tools/types';
|
|
4
|
+
export const metadata = {
|
|
5
|
+
resource: 'logs.raw',
|
|
6
|
+
operation: 'write',
|
|
7
|
+
tags: [],
|
|
8
|
+
httpMethod: 'post',
|
|
9
|
+
httpPath: '/v1/logs/raw/bots',
|
|
10
|
+
operationId: 'get_bots_v1_logs_raw_bots_post',
|
|
11
|
+
};
|
|
12
|
+
export const tool = {
|
|
13
|
+
name: 'bots_logs_raw',
|
|
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 identified bot logs with filters\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/raw_bots_response',\n $defs: {\n raw_bots_response: {\n anyOf: [ {\n type: 'array',\n title: 'LogVisitBotList',\n items: {\n type: 'object',\n title: 'LogVisitBot',\n description: 'DB Model for a bot visit.',\n properties: {\n bot_name: {\n type: 'string',\n title: 'Bot Name'\n },\n bot_provider: {\n type: 'string',\n title: 'Bot Provider'\n },\n bot_types: {\n type: 'array',\n title: 'Bot Types',\n items: {\n type: 'string',\n enum: [ 'ai_assistant',\n 'ai_training',\n 'index'\n ]\n }\n },\n host: {\n type: 'string',\n title: 'Host'\n },\n ip: {\n type: 'string',\n title: 'Ip'\n },\n method: {\n type: 'string',\n title: 'Method'\n },\n org_id: {\n type: 'string',\n title: 'Org Id'\n },\n path: {\n type: 'string',\n title: 'Path'\n },\n status_code: {\n type: 'integer',\n title: 'Status Code'\n },\n timestamp: {\n type: 'string',\n title: 'Timestamp',\n format: 'date-time'\n },\n user_agent: {\n type: 'string',\n title: 'User Agent'\n },\n bytes_sent: {\n type: 'integer',\n title: 'Bytes Sent'\n },\n duration_ms: {\n type: 'integer',\n title: 'Duration Ms'\n },\n query_params: {\n type: 'object',\n title: 'Query Params',\n additionalProperties: true\n },\n referer: {\n type: 'string',\n title: 'Referer'\n }\n },\n required: [ 'bot_name',\n 'bot_provider',\n 'bot_types',\n 'host',\n 'ip',\n 'method',\n 'org_id',\n 'path',\n 'status_code',\n 'timestamp',\n 'user_agent'\n ]\n }\n },\n {\n $ref: '#/$defs/report_response'\n }\n ],\n title: 'Response Get Bots V1 Logs Raw Bots Post',\n description: 'Base response model for reports.'\n },\n report_response: {\n type: 'object',\n title: 'Response',\n description: 'Base response model for reports.',\n properties: {\n data: {\n type: 'array',\n title: 'Data',\n items: {\n $ref: '#/$defs/report_result'\n }\n },\n info: {\n $ref: '#/$defs/report_info'\n }\n },\n required: [ 'data',\n 'info'\n ]\n },\n report_result: {\n type: 'object',\n title: 'Result',\n description: 'Base model for report results.',\n properties: {\n dimensions: {\n type: 'array',\n title: 'Dimensions',\n items: {\n type: 'string'\n }\n },\n metrics: {\n type: 'array',\n title: 'Metrics',\n items: {\n type: 'number'\n }\n }\n },\n required: [ 'dimensions',\n 'metrics'\n ]\n },\n report_info: {\n type: 'object',\n title: 'Info',\n description: 'Base model for report information.',\n properties: {\n total_rows: {\n type: 'integer',\n title: 'Total Rows'\n },\n query: {\n type: 'object',\n title: 'Query',\n additionalProperties: true\n }\n },\n required: [ 'total_rows'\n ]\n }\n }\n}\n```",
|
|
15
|
+
inputSchema: {
|
|
16
|
+
type: 'object',
|
|
17
|
+
properties: {
|
|
18
|
+
domain: {
|
|
19
|
+
type: 'string',
|
|
20
|
+
title: 'Domain',
|
|
21
|
+
description: 'Domain to query logs for.',
|
|
22
|
+
},
|
|
23
|
+
metrics: {
|
|
24
|
+
type: 'array',
|
|
25
|
+
title: 'Metrics',
|
|
26
|
+
items: {
|
|
27
|
+
type: 'string',
|
|
28
|
+
enum: ['count'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
start_date: {
|
|
32
|
+
type: 'string',
|
|
33
|
+
title: 'Start Date',
|
|
34
|
+
description: 'Start date for logs. Accepts: YYYY-MM-DD, YYYY-MM-DD HH:MM, YYYY-MM-DD HH:MM:SS, or full ISO timestamp.',
|
|
35
|
+
format: 'date-time',
|
|
36
|
+
},
|
|
37
|
+
date_interval: {
|
|
38
|
+
type: 'string',
|
|
39
|
+
title: 'Date Interval',
|
|
40
|
+
description: 'Date interval for the report. (only used with date dimension)',
|
|
41
|
+
enum: ['day', 'week', 'month', 'year'],
|
|
42
|
+
},
|
|
43
|
+
dimensions: {
|
|
44
|
+
type: 'array',
|
|
45
|
+
title: 'Dimensions',
|
|
46
|
+
description: 'Dimensions to group the report by.',
|
|
47
|
+
items: {
|
|
48
|
+
type: 'string',
|
|
49
|
+
enum: [
|
|
50
|
+
'method',
|
|
51
|
+
'path',
|
|
52
|
+
'status_code',
|
|
53
|
+
'ip',
|
|
54
|
+
'user_agent',
|
|
55
|
+
'referer',
|
|
56
|
+
'query_params',
|
|
57
|
+
'bot_name',
|
|
58
|
+
'bot_provider',
|
|
59
|
+
'bot_types',
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
end_date: {
|
|
64
|
+
type: 'string',
|
|
65
|
+
title: 'End Date',
|
|
66
|
+
description: 'End date for logs. Accepts same formats as start_date. Defaults to now if omitted.',
|
|
67
|
+
format: 'date-time',
|
|
68
|
+
},
|
|
69
|
+
filters: {
|
|
70
|
+
type: 'array',
|
|
71
|
+
title: 'Filters',
|
|
72
|
+
description: 'List of filters to apply to the report. Each filter has an operator, field, and value.',
|
|
73
|
+
items: {
|
|
74
|
+
type: 'object',
|
|
75
|
+
title: "Filter[Literal['method', 'path', 'status_code', 'ip', 'user_agent', 'referer', 'query_params', 'bot_name', 'bot_provider', 'bot_types']]",
|
|
76
|
+
properties: {
|
|
77
|
+
field: {
|
|
78
|
+
type: 'string',
|
|
79
|
+
title: 'Field',
|
|
80
|
+
enum: [
|
|
81
|
+
'method',
|
|
82
|
+
'path',
|
|
83
|
+
'status_code',
|
|
84
|
+
'ip',
|
|
85
|
+
'user_agent',
|
|
86
|
+
'referer',
|
|
87
|
+
'query_params',
|
|
88
|
+
'bot_name',
|
|
89
|
+
'bot_provider',
|
|
90
|
+
'bot_types',
|
|
91
|
+
],
|
|
92
|
+
},
|
|
93
|
+
operator: {
|
|
94
|
+
type: 'string',
|
|
95
|
+
title: 'Operator',
|
|
96
|
+
enum: [
|
|
97
|
+
'is',
|
|
98
|
+
'not_is',
|
|
99
|
+
'in',
|
|
100
|
+
'not_in',
|
|
101
|
+
'contains',
|
|
102
|
+
'not_contains',
|
|
103
|
+
'contains_case_insensitive',
|
|
104
|
+
'not_contains_case_insensitive',
|
|
105
|
+
'matches',
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
value: {
|
|
109
|
+
anyOf: [
|
|
110
|
+
{
|
|
111
|
+
type: 'string',
|
|
112
|
+
title: 'FilterStringValue',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
type: 'array',
|
|
116
|
+
title: 'FilterStringListValue',
|
|
117
|
+
items: {
|
|
118
|
+
type: 'string',
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
type: 'integer',
|
|
123
|
+
title: 'FilterIntegerValue',
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
type: 'array',
|
|
127
|
+
title: 'FilterIntegerListValue',
|
|
128
|
+
items: {
|
|
129
|
+
type: 'integer',
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
title: 'Value',
|
|
134
|
+
description: 'Value for the filter. Can be a single value or a list of depending on the operator.',
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
required: ['field', 'operator', 'value'],
|
|
138
|
+
},
|
|
139
|
+
},
|
|
140
|
+
order_by: {
|
|
141
|
+
type: 'object',
|
|
142
|
+
title: 'Order By',
|
|
143
|
+
description: "\nCustom ordering of the report results.\n\nThe order is a record of key-value pairs where:\n- key is the field to order by, which can be a metric or dimension\n- value is the direction of the order, either 'asc' for ascending or 'desc' for descending.\n\nWhen not specified, the default order is the first metric in the query descending.\n ",
|
|
144
|
+
additionalProperties: true,
|
|
145
|
+
},
|
|
146
|
+
pagination: {
|
|
147
|
+
$ref: '#/$defs/pagination',
|
|
148
|
+
},
|
|
149
|
+
jq_filter: {
|
|
150
|
+
type: 'string',
|
|
151
|
+
title: 'jq Filter',
|
|
152
|
+
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/).',
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
required: ['domain', 'metrics', 'start_date'],
|
|
156
|
+
$defs: {
|
|
157
|
+
pagination: {
|
|
158
|
+
type: 'object',
|
|
159
|
+
title: 'Pagination',
|
|
160
|
+
description: 'Report pagination model.',
|
|
161
|
+
properties: {
|
|
162
|
+
limit: {
|
|
163
|
+
type: 'integer',
|
|
164
|
+
title: 'Limit',
|
|
165
|
+
description: 'Maximum number of results to return. Default is 10,000, maximum is 50,000.',
|
|
166
|
+
},
|
|
167
|
+
offset: {
|
|
168
|
+
type: 'integer',
|
|
169
|
+
title: 'Offset',
|
|
170
|
+
description: 'Offset for the results. Used for pagination.',
|
|
171
|
+
},
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
annotations: {},
|
|
177
|
+
};
|
|
178
|
+
export const handler = async (client, args) => {
|
|
179
|
+
const { jq_filter, ...body } = args;
|
|
180
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.logs.raw.bots(body)));
|
|
181
|
+
};
|
|
182
|
+
export default { metadata, tool, handler };
|
|
183
|
+
//# sourceMappingURL=bots-logs-raw.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bots-logs-raw.mjs","sourceRoot":"","sources":["../../../src/tools/logs/raw/bots-logs-raw.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,UAAU;IACpB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,mBAAmB;IAC7B,WAAW,EAAE,gCAAgC;CAC9C,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,eAAe;IACrB,WAAW,EACT,i9IAAi9I;IACn9I,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,2BAA2B;aACzC;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,SAAS;gBAChB,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,OAAO,CAAC;iBAChB;aACF;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,YAAY;gBACnB,WAAW,EACT,yGAAyG;gBAC3G,MAAM,EAAE,WAAW;aACpB;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,eAAe;gBACtB,WAAW,EAAE,+DAA+D;gBAC5E,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC;aACvC;YACD,UAAU,EA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AC3C,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC7F,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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=logs-logs-raw.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logs-logs-raw.d.mts","sourceRoot":"","sources":["../../../src/tools/logs/raw/logs-logs-raw.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,IAiKlB,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"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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=logs-logs-raw.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logs-logs-raw.d.ts","sourceRoot":"","sources":["../../../src/tools/logs/raw/logs-logs-raw.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,IAiKlB,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"}
|