profound-mcp 0.14.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.
- package/LICENSE +1 -1
- package/README.md +14 -184
- package/code-tool-types.d.mts +6 -9
- package/code-tool-types.d.mts.map +1 -1
- package/code-tool-types.d.ts +6 -9
- package/code-tool-types.d.ts.map +1 -1
- package/code-tool.d.mts +2 -2
- package/code-tool.d.mts.map +1 -1
- package/code-tool.d.ts +2 -2
- package/code-tool.d.ts.map +1 -1
- package/code-tool.js +53 -145
- package/code-tool.js.map +1 -1
- package/code-tool.mjs +53 -112
- package/code-tool.mjs.map +1 -1
- package/docs-search-tool.d.mts +15 -9
- package/docs-search-tool.d.mts.map +1 -1
- package/docs-search-tool.d.ts +15 -9
- package/docs-search-tool.d.ts.map +1 -1
- package/docs-search-tool.js +4 -1
- package/docs-search-tool.js.map +1 -1
- package/docs-search-tool.mjs +4 -1
- package/docs-search-tool.mjs.map +1 -1
- package/http.d.mts.map +1 -1
- package/http.d.ts.map +1 -1
- package/http.js +1 -18
- package/http.js.map +1 -1
- package/http.mjs +1 -18
- package/http.mjs.map +1 -1
- package/index.js +4 -40
- package/index.js.map +1 -1
- package/index.mjs +4 -40
- package/index.mjs.map +1 -1
- package/options.d.mts +0 -9
- package/options.d.mts.map +1 -1
- package/options.d.ts +0 -9
- package/options.d.ts.map +1 -1
- package/options.js +6 -361
- package/options.js.map +1 -1
- package/options.mjs +6 -361
- package/options.mjs.map +1 -1
- package/package.json +10 -66
- package/server.d.mts +3 -8
- package/server.d.mts.map +1 -1
- package/server.d.ts +3 -8
- package/server.d.ts.map +1 -1
- package/server.js +12 -65
- package/server.js.map +1 -1
- package/server.mjs +11 -62
- package/server.mjs.map +1 -1
- package/src/code-tool-types.ts +6 -9
- package/src/code-tool.ts +60 -138
- package/src/docs-search-tool.ts +8 -1
- package/src/http.ts +1 -19
- package/src/index.ts +5 -52
- package/src/options.ts +7 -388
- package/src/server.ts +12 -72
- package/src/stdio.ts +2 -3
- package/src/{tools/types.ts → types.ts} +1 -1
- package/stdio.d.mts +1 -2
- package/stdio.d.mts.map +1 -1
- package/stdio.d.ts +1 -2
- package/stdio.d.ts.map +1 -1
- package/stdio.js +2 -2
- package/stdio.js.map +1 -1
- package/stdio.mjs +2 -2
- package/stdio.mjs.map +1 -1
- package/{tools/types.d.mts → types.d.mts} +1 -1
- package/types.d.mts.map +1 -0
- package/{tools/types.d.ts → types.d.ts} +1 -1
- package/types.d.ts.map +1 -0
- package/types.js.map +1 -0
- package/types.mjs.map +1 -0
- package/code-tool-paths.cjs +0 -6
- package/code-tool-paths.cjs.map +0 -1
- package/code-tool-paths.d.cts +0 -2
- package/code-tool-paths.d.cts.map +0 -1
- package/code-tool-worker.d.mts +0 -5
- package/code-tool-worker.d.mts.map +0 -1
- package/code-tool-worker.d.ts +0 -5
- package/code-tool-worker.d.ts.map +0 -1
- package/code-tool-worker.js +0 -169
- package/code-tool-worker.js.map +0 -1
- package/code-tool-worker.mjs +0 -164
- package/code-tool-worker.mjs.map +0 -1
- package/compat.d.mts +0 -58
- package/compat.d.mts.map +0 -1
- package/compat.d.ts +0 -58
- package/compat.d.ts.map +0 -1
- package/compat.js +0 -387
- package/compat.js.map +0 -1
- package/compat.mjs +0 -378
- package/compat.mjs.map +0 -1
- package/dynamic-tools.d.mts +0 -12
- package/dynamic-tools.d.mts.map +0 -1
- package/dynamic-tools.d.ts +0 -12
- package/dynamic-tools.d.ts.map +0 -1
- package/dynamic-tools.js +0 -135
- package/dynamic-tools.js.map +0 -1
- package/dynamic-tools.mjs +0 -132
- package/dynamic-tools.mjs.map +0 -1
- package/filtering.d.mts +0 -3
- package/filtering.d.mts.map +0 -1
- package/filtering.d.ts +0 -3
- package/filtering.d.ts.map +0 -1
- package/filtering.js +0 -24
- package/filtering.js.map +0 -1
- package/filtering.mjs +0 -16
- package/filtering.mjs.map +0 -1
- package/src/code-tool-paths.cts +0 -3
- package/src/code-tool-worker.ts +0 -215
- package/src/compat.ts +0 -483
- package/src/dynamic-tools.ts +0 -153
- package/src/filtering.ts +0 -18
- package/src/tools/index.ts +0 -99
- package/src/tools/logs/raw/bots-logs-raw.ts +0 -544
- package/src/tools/logs/raw/logs-logs-raw.ts +0 -565
- package/src/tools/organizations/categories/assets-organizations-categories.ts +0 -57
- package/src/tools/organizations/categories/list-organizations-categories.ts +0 -51
- package/src/tools/organizations/categories/prompts-organizations-categories.ts +0 -57
- package/src/tools/organizations/categories/tags-organizations-categories.ts +0 -57
- package/src/tools/organizations/categories/topics-organizations-categories.ts +0 -57
- package/src/tools/organizations/domains-organizations.ts +0 -51
- package/src/tools/organizations/list-assets-organizations.ts +0 -51
- package/src/tools/organizations/models-organizations.ts +0 -51
- package/src/tools/organizations/regions-organizations.ts +0 -51
- package/src/tools/prompts/answers-prompts.ts +0 -370
- package/src/tools/reports/citations-reports.ts +0 -504
- package/src/tools/reports/sentiment-reports.ts +0 -418
- package/src/tools/reports/visibility-reports.ts +0 -364
- package/src/tools.ts +0 -1
- package/tools/index.d.mts +0 -10
- package/tools/index.d.mts.map +0 -1
- package/tools/index.d.ts +0 -10
- package/tools/index.d.ts.map +0 -1
- package/tools/index.js +0 -83
- package/tools/index.js.map +0 -1
- package/tools/index.mjs +0 -76
- package/tools/index.mjs.map +0 -1
- package/tools/logs/raw/bots-logs-raw.d.mts +0 -45
- package/tools/logs/raw/bots-logs-raw.d.mts.map +0 -1
- package/tools/logs/raw/bots-logs-raw.d.ts +0 -45
- package/tools/logs/raw/bots-logs-raw.d.ts.map +0 -1
- package/tools/logs/raw/bots-logs-raw.js +0 -544
- package/tools/logs/raw/bots-logs-raw.js.map +0 -1
- package/tools/logs/raw/bots-logs-raw.mjs +0 -537
- package/tools/logs/raw/bots-logs-raw.mjs.map +0 -1
- package/tools/logs/raw/logs-logs-raw.d.mts +0 -45
- package/tools/logs/raw/logs-logs-raw.d.mts.map +0 -1
- package/tools/logs/raw/logs-logs-raw.d.ts +0 -45
- package/tools/logs/raw/logs-logs-raw.d.ts.map +0 -1
- package/tools/logs/raw/logs-logs-raw.js +0 -565
- package/tools/logs/raw/logs-logs-raw.js.map +0 -1
- package/tools/logs/raw/logs-logs-raw.mjs +0 -558
- package/tools/logs/raw/logs-logs-raw.mjs.map +0 -1
- package/tools/organizations/categories/assets-organizations-categories.d.mts +0 -45
- package/tools/organizations/categories/assets-organizations-categories.d.mts.map +0 -1
- package/tools/organizations/categories/assets-organizations-categories.d.ts +0 -45
- package/tools/organizations/categories/assets-organizations-categories.d.ts.map +0 -1
- package/tools/organizations/categories/assets-organizations-categories.js +0 -55
- package/tools/organizations/categories/assets-organizations-categories.js.map +0 -1
- package/tools/organizations/categories/assets-organizations-categories.mjs +0 -48
- package/tools/organizations/categories/assets-organizations-categories.mjs.map +0 -1
- package/tools/organizations/categories/list-organizations-categories.d.mts +0 -45
- package/tools/organizations/categories/list-organizations-categories.d.mts.map +0 -1
- package/tools/organizations/categories/list-organizations-categories.d.ts +0 -45
- package/tools/organizations/categories/list-organizations-categories.d.ts.map +0 -1
- package/tools/organizations/categories/list-organizations-categories.js +0 -51
- package/tools/organizations/categories/list-organizations-categories.js.map +0 -1
- package/tools/organizations/categories/list-organizations-categories.mjs +0 -44
- package/tools/organizations/categories/list-organizations-categories.mjs.map +0 -1
- package/tools/organizations/categories/prompts-organizations-categories.d.mts +0 -45
- package/tools/organizations/categories/prompts-organizations-categories.d.mts.map +0 -1
- package/tools/organizations/categories/prompts-organizations-categories.d.ts +0 -45
- package/tools/organizations/categories/prompts-organizations-categories.d.ts.map +0 -1
- package/tools/organizations/categories/prompts-organizations-categories.js +0 -55
- package/tools/organizations/categories/prompts-organizations-categories.js.map +0 -1
- package/tools/organizations/categories/prompts-organizations-categories.mjs +0 -48
- package/tools/organizations/categories/prompts-organizations-categories.mjs.map +0 -1
- package/tools/organizations/categories/tags-organizations-categories.d.mts +0 -45
- package/tools/organizations/categories/tags-organizations-categories.d.mts.map +0 -1
- package/tools/organizations/categories/tags-organizations-categories.d.ts +0 -45
- package/tools/organizations/categories/tags-organizations-categories.d.ts.map +0 -1
- package/tools/organizations/categories/tags-organizations-categories.js +0 -55
- package/tools/organizations/categories/tags-organizations-categories.js.map +0 -1
- package/tools/organizations/categories/tags-organizations-categories.mjs +0 -48
- package/tools/organizations/categories/tags-organizations-categories.mjs.map +0 -1
- package/tools/organizations/categories/topics-organizations-categories.d.mts +0 -45
- package/tools/organizations/categories/topics-organizations-categories.d.mts.map +0 -1
- package/tools/organizations/categories/topics-organizations-categories.d.ts +0 -45
- package/tools/organizations/categories/topics-organizations-categories.d.ts.map +0 -1
- package/tools/organizations/categories/topics-organizations-categories.js +0 -55
- package/tools/organizations/categories/topics-organizations-categories.js.map +0 -1
- package/tools/organizations/categories/topics-organizations-categories.mjs +0 -48
- package/tools/organizations/categories/topics-organizations-categories.mjs.map +0 -1
- package/tools/organizations/domains-organizations.d.mts +0 -45
- package/tools/organizations/domains-organizations.d.mts.map +0 -1
- package/tools/organizations/domains-organizations.d.ts +0 -45
- package/tools/organizations/domains-organizations.d.ts.map +0 -1
- package/tools/organizations/domains-organizations.js +0 -51
- package/tools/organizations/domains-organizations.js.map +0 -1
- package/tools/organizations/domains-organizations.mjs +0 -44
- package/tools/organizations/domains-organizations.mjs.map +0 -1
- package/tools/organizations/list-assets-organizations.d.mts +0 -45
- package/tools/organizations/list-assets-organizations.d.mts.map +0 -1
- package/tools/organizations/list-assets-organizations.d.ts +0 -45
- package/tools/organizations/list-assets-organizations.d.ts.map +0 -1
- package/tools/organizations/list-assets-organizations.js +0 -51
- package/tools/organizations/list-assets-organizations.js.map +0 -1
- package/tools/organizations/list-assets-organizations.mjs +0 -44
- package/tools/organizations/list-assets-organizations.mjs.map +0 -1
- package/tools/organizations/models-organizations.d.mts +0 -45
- package/tools/organizations/models-organizations.d.mts.map +0 -1
- package/tools/organizations/models-organizations.d.ts +0 -45
- package/tools/organizations/models-organizations.d.ts.map +0 -1
- package/tools/organizations/models-organizations.js +0 -51
- package/tools/organizations/models-organizations.js.map +0 -1
- package/tools/organizations/models-organizations.mjs +0 -44
- package/tools/organizations/models-organizations.mjs.map +0 -1
- package/tools/organizations/regions-organizations.d.mts +0 -45
- package/tools/organizations/regions-organizations.d.mts.map +0 -1
- package/tools/organizations/regions-organizations.d.ts +0 -45
- package/tools/organizations/regions-organizations.d.ts.map +0 -1
- package/tools/organizations/regions-organizations.js +0 -51
- package/tools/organizations/regions-organizations.js.map +0 -1
- package/tools/organizations/regions-organizations.mjs +0 -44
- package/tools/organizations/regions-organizations.mjs.map +0 -1
- package/tools/prompts/answers-prompts.d.mts +0 -45
- package/tools/prompts/answers-prompts.d.mts.map +0 -1
- package/tools/prompts/answers-prompts.d.ts +0 -45
- package/tools/prompts/answers-prompts.d.ts.map +0 -1
- package/tools/prompts/answers-prompts.js +0 -372
- package/tools/prompts/answers-prompts.js.map +0 -1
- package/tools/prompts/answers-prompts.mjs +0 -365
- package/tools/prompts/answers-prompts.mjs.map +0 -1
- package/tools/reports/citations-reports.d.mts +0 -45
- package/tools/reports/citations-reports.d.mts.map +0 -1
- package/tools/reports/citations-reports.d.ts +0 -45
- package/tools/reports/citations-reports.d.ts.map +0 -1
- package/tools/reports/citations-reports.js +0 -503
- package/tools/reports/citations-reports.js.map +0 -1
- package/tools/reports/citations-reports.mjs +0 -496
- package/tools/reports/citations-reports.mjs.map +0 -1
- package/tools/reports/sentiment-reports.d.mts +0 -45
- package/tools/reports/sentiment-reports.d.mts.map +0 -1
- package/tools/reports/sentiment-reports.d.ts +0 -45
- package/tools/reports/sentiment-reports.d.ts.map +0 -1
- package/tools/reports/sentiment-reports.js +0 -417
- package/tools/reports/sentiment-reports.js.map +0 -1
- package/tools/reports/sentiment-reports.mjs +0 -410
- package/tools/reports/sentiment-reports.mjs.map +0 -1
- package/tools/reports/visibility-reports.d.mts +0 -45
- package/tools/reports/visibility-reports.d.mts.map +0 -1
- package/tools/reports/visibility-reports.d.ts +0 -45
- package/tools/reports/visibility-reports.d.ts.map +0 -1
- package/tools/reports/visibility-reports.js +0 -363
- package/tools/reports/visibility-reports.js.map +0 -1
- package/tools/reports/visibility-reports.mjs +0 -356
- package/tools/reports/visibility-reports.mjs.map +0 -1
- package/tools/types.d.mts.map +0 -1
- package/tools/types.d.ts.map +0 -1
- package/tools/types.js.map +0 -1
- package/tools/types.mjs.map +0 -1
- package/tools.d.mts +0 -2
- package/tools.d.mts.map +0 -1
- package/tools.d.ts +0 -2
- package/tools.d.ts.map +0 -1
- package/tools.js +0 -18
- package/tools.js.map +0 -1
- package/tools.mjs +0 -2
- package/tools.mjs.map +0 -1
- /package/{tools/types.js → types.js} +0 -0
- /package/{tools/types.mjs → types.mjs} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-assets-organizations.d.mts","sourceRoot":"","sources":["../../src/tools/organizations/list-assets-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=list-assets-organizations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-assets-organizations.d.ts","sourceRoot":"","sources":["../../src/tools/organizations/list-assets-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,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
-
};
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.handler = exports.tool = exports.metadata = void 0;
|
|
8
|
-
const filtering_1 = require("profound-mcp/filtering");
|
|
9
|
-
const types_1 = require("profound-mcp/tools/types");
|
|
10
|
-
const profoundai_1 = __importDefault(require("profoundai"));
|
|
11
|
-
exports.metadata = {
|
|
12
|
-
resource: 'organizations',
|
|
13
|
-
operation: 'read',
|
|
14
|
-
tags: [],
|
|
15
|
-
httpMethod: 'get',
|
|
16
|
-
httpPath: '/v1/org/assets',
|
|
17
|
-
operationId: 'get_assets_v1_org_assets_get',
|
|
18
|
-
};
|
|
19
|
-
exports.tool = {
|
|
20
|
-
name: 'list_assets_organizations',
|
|
21
|
-
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```",
|
|
22
|
-
inputSchema: {
|
|
23
|
-
type: 'object',
|
|
24
|
-
properties: {
|
|
25
|
-
jq_filter: {
|
|
26
|
-
type: 'string',
|
|
27
|
-
title: 'jq Filter',
|
|
28
|
-
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/).',
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
required: [],
|
|
32
|
-
},
|
|
33
|
-
annotations: {
|
|
34
|
-
readOnlyHint: true,
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
const handler = async (client, args) => {
|
|
38
|
-
const { jq_filter } = args;
|
|
39
|
-
try {
|
|
40
|
-
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.organizations.listAssets()));
|
|
41
|
-
}
|
|
42
|
-
catch (error) {
|
|
43
|
-
if (error instanceof profoundai_1.default.APIError || (0, filtering_1.isJqError)(error)) {
|
|
44
|
-
return (0, types_1.asErrorResult)(error.message);
|
|
45
|
-
}
|
|
46
|
-
throw error;
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
exports.handler = handler;
|
|
50
|
-
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
51
|
-
//# 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;AAGxF,4DAAkC;AAErB,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,KAAK,YAAY,oBAAQ,CAAC,QAAQ,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YAC3D,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,44 +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
|
-
import Profound from 'profoundai';
|
|
5
|
-
export const metadata = {
|
|
6
|
-
resource: 'organizations',
|
|
7
|
-
operation: 'read',
|
|
8
|
-
tags: [],
|
|
9
|
-
httpMethod: 'get',
|
|
10
|
-
httpPath: '/v1/org/assets',
|
|
11
|
-
operationId: 'get_assets_v1_org_assets_get',
|
|
12
|
-
};
|
|
13
|
-
export const tool = {
|
|
14
|
-
name: 'list_assets_organizations',
|
|
15
|
-
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```",
|
|
16
|
-
inputSchema: {
|
|
17
|
-
type: 'object',
|
|
18
|
-
properties: {
|
|
19
|
-
jq_filter: {
|
|
20
|
-
type: 'string',
|
|
21
|
-
title: 'jq Filter',
|
|
22
|
-
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/).',
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
required: [],
|
|
26
|
-
},
|
|
27
|
-
annotations: {
|
|
28
|
-
readOnlyHint: true,
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
export const handler = async (client, args) => {
|
|
32
|
-
const { jq_filter } = args;
|
|
33
|
-
try {
|
|
34
|
-
return asTextContentResult(await maybeFilter(jq_filter, await client.organizations.listAssets()));
|
|
35
|
-
}
|
|
36
|
-
catch (error) {
|
|
37
|
-
if (error instanceof Profound.APIError || isJqError(error)) {
|
|
38
|
-
return asErrorResult(error.message);
|
|
39
|
-
}
|
|
40
|
-
throw error;
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
export default { metadata, tool, handler };
|
|
44
|
-
//# 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;OAGhF,QAAQ,MAAM,YAAY;AAEjC,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,KAAK,YAAY,QAAQ,CAAC,QAAQ,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YAC3D,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,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
-
};
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.handler = exports.tool = exports.metadata = void 0;
|
|
8
|
-
const filtering_1 = require("profound-mcp/filtering");
|
|
9
|
-
const types_1 = require("profound-mcp/tools/types");
|
|
10
|
-
const profoundai_1 = __importDefault(require("profoundai"));
|
|
11
|
-
exports.metadata = {
|
|
12
|
-
resource: 'organizations',
|
|
13
|
-
operation: 'read',
|
|
14
|
-
tags: [],
|
|
15
|
-
httpMethod: 'get',
|
|
16
|
-
httpPath: '/v1/org/models',
|
|
17
|
-
operationId: 'get_models_v1_org_models_get',
|
|
18
|
-
};
|
|
19
|
-
exports.tool = {
|
|
20
|
-
name: 'models_organizations',
|
|
21
|
-
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```",
|
|
22
|
-
inputSchema: {
|
|
23
|
-
type: 'object',
|
|
24
|
-
properties: {
|
|
25
|
-
jq_filter: {
|
|
26
|
-
type: 'string',
|
|
27
|
-
title: 'jq Filter',
|
|
28
|
-
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/).',
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
required: [],
|
|
32
|
-
},
|
|
33
|
-
annotations: {
|
|
34
|
-
readOnlyHint: true,
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
const handler = async (client, args) => {
|
|
38
|
-
const { jq_filter } = args;
|
|
39
|
-
try {
|
|
40
|
-
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.organizations.models()));
|
|
41
|
-
}
|
|
42
|
-
catch (error) {
|
|
43
|
-
if (error instanceof profoundai_1.default.APIError || (0, filtering_1.isJqError)(error)) {
|
|
44
|
-
return (0, types_1.asErrorResult)(error.message);
|
|
45
|
-
}
|
|
46
|
-
throw error;
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
exports.handler = handler;
|
|
50
|
-
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
51
|
-
//# 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;AAGxF,4DAAkC;AAErB,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,KAAK,YAAY,oBAAQ,CAAC,QAAQ,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YAC3D,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,44 +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
|
-
import Profound from 'profoundai';
|
|
5
|
-
export const metadata = {
|
|
6
|
-
resource: 'organizations',
|
|
7
|
-
operation: 'read',
|
|
8
|
-
tags: [],
|
|
9
|
-
httpMethod: 'get',
|
|
10
|
-
httpPath: '/v1/org/models',
|
|
11
|
-
operationId: 'get_models_v1_org_models_get',
|
|
12
|
-
};
|
|
13
|
-
export const tool = {
|
|
14
|
-
name: 'models_organizations',
|
|
15
|
-
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```",
|
|
16
|
-
inputSchema: {
|
|
17
|
-
type: 'object',
|
|
18
|
-
properties: {
|
|
19
|
-
jq_filter: {
|
|
20
|
-
type: 'string',
|
|
21
|
-
title: 'jq Filter',
|
|
22
|
-
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/).',
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
required: [],
|
|
26
|
-
},
|
|
27
|
-
annotations: {
|
|
28
|
-
readOnlyHint: true,
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
export const handler = async (client, args) => {
|
|
32
|
-
const { jq_filter } = args;
|
|
33
|
-
try {
|
|
34
|
-
return asTextContentResult(await maybeFilter(jq_filter, await client.organizations.models()));
|
|
35
|
-
}
|
|
36
|
-
catch (error) {
|
|
37
|
-
if (error instanceof Profound.APIError || isJqError(error)) {
|
|
38
|
-
return asErrorResult(error.message);
|
|
39
|
-
}
|
|
40
|
-
throw error;
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
export default { metadata, tool, handler };
|
|
44
|
-
//# 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;OAGhF,QAAQ,MAAM,YAAY;AAEjC,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,KAAK,YAAY,QAAQ,CAAC,QAAQ,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YAC3D,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,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
-
};
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.handler = exports.tool = exports.metadata = void 0;
|
|
8
|
-
const filtering_1 = require("profound-mcp/filtering");
|
|
9
|
-
const types_1 = require("profound-mcp/tools/types");
|
|
10
|
-
const profoundai_1 = __importDefault(require("profoundai"));
|
|
11
|
-
exports.metadata = {
|
|
12
|
-
resource: 'organizations',
|
|
13
|
-
operation: 'read',
|
|
14
|
-
tags: [],
|
|
15
|
-
httpMethod: 'get',
|
|
16
|
-
httpPath: '/v1/org/regions',
|
|
17
|
-
operationId: 'get_regions_v1_org_regions_get',
|
|
18
|
-
};
|
|
19
|
-
exports.tool = {
|
|
20
|
-
name: 'regions_organizations',
|
|
21
|
-
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```",
|
|
22
|
-
inputSchema: {
|
|
23
|
-
type: 'object',
|
|
24
|
-
properties: {
|
|
25
|
-
jq_filter: {
|
|
26
|
-
type: 'string',
|
|
27
|
-
title: 'jq Filter',
|
|
28
|
-
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/).',
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
required: [],
|
|
32
|
-
},
|
|
33
|
-
annotations: {
|
|
34
|
-
readOnlyHint: true,
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
const handler = async (client, args) => {
|
|
38
|
-
const { jq_filter } = args;
|
|
39
|
-
try {
|
|
40
|
-
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.organizations.regions()));
|
|
41
|
-
}
|
|
42
|
-
catch (error) {
|
|
43
|
-
if (error instanceof profoundai_1.default.APIError || (0, filtering_1.isJqError)(error)) {
|
|
44
|
-
return (0, types_1.asErrorResult)(error.message);
|
|
45
|
-
}
|
|
46
|
-
throw error;
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
exports.handler = handler;
|
|
50
|
-
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
51
|
-
//# 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;AAGxF,4DAAkC;AAErB,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,KAAK,YAAY,oBAAQ,CAAC,QAAQ,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YAC3D,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,44 +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
|
-
import Profound from 'profoundai';
|
|
5
|
-
export const metadata = {
|
|
6
|
-
resource: 'organizations',
|
|
7
|
-
operation: 'read',
|
|
8
|
-
tags: [],
|
|
9
|
-
httpMethod: 'get',
|
|
10
|
-
httpPath: '/v1/org/regions',
|
|
11
|
-
operationId: 'get_regions_v1_org_regions_get',
|
|
12
|
-
};
|
|
13
|
-
export const tool = {
|
|
14
|
-
name: 'regions_organizations',
|
|
15
|
-
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```",
|
|
16
|
-
inputSchema: {
|
|
17
|
-
type: 'object',
|
|
18
|
-
properties: {
|
|
19
|
-
jq_filter: {
|
|
20
|
-
type: 'string',
|
|
21
|
-
title: 'jq Filter',
|
|
22
|
-
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/).',
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
required: [],
|
|
26
|
-
},
|
|
27
|
-
annotations: {
|
|
28
|
-
readOnlyHint: true,
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
export const handler = async (client, args) => {
|
|
32
|
-
const { jq_filter } = args;
|
|
33
|
-
try {
|
|
34
|
-
return asTextContentResult(await maybeFilter(jq_filter, await client.organizations.regions()));
|
|
35
|
-
}
|
|
36
|
-
catch (error) {
|
|
37
|
-
if (error instanceof Profound.APIError || isJqError(error)) {
|
|
38
|
-
return asErrorResult(error.message);
|
|
39
|
-
}
|
|
40
|
-
throw error;
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
export default { metadata, tool, handler };
|
|
44
|
-
//# 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;OAGhF,QAAQ,MAAM,YAAY;AAEjC,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,KAAK,YAAY,QAAQ,CAAC,QAAQ,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YAC3D,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,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,IAmVlB,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"}
|