@prostgles/app 2.3.6-dev.1796042315 → 2.3.6-dev.1796082782
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/client/build/index.html +1 -1
- package/client/build/js/main.bundle.js +2 -2
- package/client/build/static/css/{main.f45d36f6.css → main.d122debc.css} +7 -0
- package/dist/common/DBGeneratedSchema.d.ts +16 -15
- package/dist/common/DBGeneratedSchema.d.ts.map +1 -1
- package/dist/common/Testing.d.ts +1 -1
- package/dist/common/Testing.js +1 -1
- package/dist/common/llmUtils.d.ts.map +1 -1
- package/dist/server/package.json +2 -2
- package/dist/server/src/BackupManager/BackupManager.d.ts.map +1 -1
- package/dist/server/src/BackupManager/utils.d.ts.map +1 -1
- package/dist/server/src/ConnectionManager/ConnectionManager.d.ts.map +1 -1
- package/dist/server/src/ConnectionManager/fetchUserAccessControlRules.d.ts +41 -0
- package/dist/server/src/ConnectionManager/fetchUserAccessControlRules.d.ts.map +1 -1
- package/dist/server/src/ConnectionManager/fetchUserAccessControlRules.js +20 -6
- package/dist/server/src/ConnectionManager/fetchUserAccessControlRules.js.map +1 -1
- package/dist/server/src/ConnectionManager/getConnectionAuth.d.ts.map +1 -1
- package/dist/server/src/ConnectionManager/getHotReloadConfigs.d.ts.map +1 -1
- package/dist/server/src/ConnectionManager/startConnection.d.ts +6 -1
- package/dist/server/src/ConnectionManager/startConnection.d.ts.map +1 -1
- package/dist/server/src/ConnectionManager/startConnection.js +11 -4
- package/dist/server/src/ConnectionManager/startConnection.js.map +1 -1
- package/dist/server/src/ConnectionManager/syncConfiguredLlmCredentials.d.ts +6 -0
- package/dist/server/src/ConnectionManager/syncConfiguredLlmCredentials.d.ts.map +1 -0
- package/dist/server/src/ConnectionManager/syncConfiguredLlmCredentials.js +100 -0
- package/dist/server/src/ConnectionManager/syncConfiguredLlmCredentials.js.map +1 -0
- package/dist/server/src/ConnectionManager/syncSchemaConfigResources.d.ts +2 -2
- package/dist/server/src/ConnectionManager/syncSchemaConfigResources.d.ts.map +1 -1
- package/dist/server/src/ConnectionManager/syncSchemaConfigResources.js +14 -18
- package/dist/server/src/ConnectionManager/syncSchemaConfigResources.js.map +1 -1
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/validateAgenticWorkflowDefinitions.d.ts +0 -2
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/validateAgenticWorkflowDefinitions.d.ts.map +1 -1
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/getConfiguredWorkflow.d.ts.map +1 -1
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/createWorkflowExecutionHandlers.d.ts +0 -2
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/createWorkflowExecutionHandlers.d.ts.map +1 -1
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/getAgentConfigWithDefaults.d.ts.map +1 -1
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/setupOrchestrationToolPermissions.d.ts +0 -2
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/setupOrchestrationToolPermissions.d.ts.map +1 -1
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/getAgentGrantPromptId.d.ts +8 -0
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/getAgentGrantPromptId.d.ts.map +1 -0
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/getAgentGrantPromptId.js +34 -0
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/getAgentGrantPromptId.js.map +1 -0
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/startAgent.js +1 -1
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/startAgent.js.map +1 -1
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/getWebDevChatAndConnection.d.ts +0 -2
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/getWebDevChatAndConnection.d.ts.map +1 -1
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers.d.ts +995 -995
- package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMcpHub.d.ts +1010 -1010
- package/dist/server/src/McpHub/reloadMcpServerTools.js +3 -3
- package/dist/server/src/McpHub/reloadMcpServerTools.js.map +1 -1
- package/dist/server/src/Plugins/jobsPlugin.d.ts +1 -0
- package/dist/server/src/Plugins/jobsPlugin.d.ts.map +1 -1
- package/dist/server/src/Plugins/jobsPlugin.js +11 -2
- package/dist/server/src/Plugins/jobsPlugin.js.map +1 -1
- package/dist/server/src/Plugins/reportJobUserForeignKeyError.d.ts +9 -0
- package/dist/server/src/Plugins/reportJobUserForeignKeyError.d.ts.map +1 -0
- package/dist/server/src/Plugins/reportJobUserForeignKeyError.js +31 -0
- package/dist/server/src/Plugins/reportJobUserForeignKeyError.js.map +1 -0
- package/dist/server/src/authConfig/getAuth.d.ts.map +1 -1
- package/dist/server/src/authConfig/sessionUtils.d.ts.map +1 -1
- package/dist/server/src/authConfig/subscribeToAuthSetupChanges.d.ts.map +1 -1
- package/dist/server/src/cli/cliTemplateFiles.d.ts +2 -1
- package/dist/server/src/cli/cliTemplateFiles.d.ts.map +1 -1
- package/dist/server/src/cli/cliTemplateFiles.js +6 -4
- package/dist/server/src/cli/cliTemplateFiles.js.map +1 -1
- package/dist/server/src/cli/overrides/createJobDefiner.d.ts +2 -0
- package/dist/server/src/cli/overrides/createJobDefiner.d.ts.map +1 -1
- package/dist/server/src/init/initUsers.d.ts.map +1 -1
- package/dist/server/src/publish/getBusinessAccessPublish.d.ts +78 -141
- package/dist/server/src/publish/getBusinessAccessPublish.d.ts.map +1 -1
- package/dist/server/src/publish/getBusinessAccessPublish.js +17 -34
- package/dist/server/src/publish/getBusinessAccessPublish.js.map +1 -1
- package/dist/server/src/publish/getPublishLLM.d.ts +10 -18
- package/dist/server/src/publish/getPublishLLM.d.ts.map +1 -1
- package/dist/server/src/publish/getPublishLLM.js +3 -10
- package/dist/server/src/publish/getPublishLLM.js.map +1 -1
- package/dist/server/src/publish/getPublishLlmChats.d.ts +7 -7
- package/dist/server/src/publish/getPublishLlmChats.d.ts.map +1 -1
- package/dist/server/src/publish/getPublishLlmChats.js +10 -7
- package/dist/server/src/publish/getPublishLlmChats.js.map +1 -1
- package/dist/server/src/publish/publish.d.ts.map +1 -1
- package/dist/server/src/publish/publish.js +3 -9
- package/dist/server/src/publish/publish.js.map +1 -1
- package/dist/server/src/schemaConfig.d.ts +27 -15
- package/dist/server/src/schemaConfig.d.ts.map +1 -1
- package/dist/server/src/schemaConfig.js.map +1 -1
- package/dist/server/src/serverFunctions/adminServerFunctions/agenticWorkflowFunctions.d.ts +4 -4
- package/dist/server/src/serverFunctions/adminServerFunctions/stateServerAdminFunctions.d.ts +4 -4
- package/dist/server/src/serverFunctions/adminServerFunctions/stateServerAdminFunctions.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/adminServerFunctions/webApp/getTemplatedWebAppConnection.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/applySampleSchema.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/LLMResponseTypes.d.ts +2 -2
- package/dist/server/src/serverFunctions/askLLM/LLMResponseTypes.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/askLLM.d.ts +1 -1
- package/dist/server/src/serverFunctions/askLLM/askLLM.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/askLLM.js +22 -25
- package/dist/server/src/serverFunctions/askLLM/askLLM.js.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/checkLLMLimit.d.ts +1 -1
- package/dist/server/src/serverFunctions/askLLM/checkLLMLimit.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/checkLLMLimit.js +1 -11
- package/dist/server/src/serverFunctions/askLLM/checkLLMLimit.js.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/fetchBudgetedLLMResponse.d.ts +10 -0
- package/dist/server/src/serverFunctions/askLLM/fetchBudgetedLLMResponse.d.ts.map +1 -0
- package/dist/server/src/serverFunctions/askLLM/fetchBudgetedLLMResponse.js +47 -0
- package/dist/server/src/serverFunctions/askLLM/fetchBudgetedLLMResponse.js.map +1 -0
- package/dist/server/src/serverFunctions/askLLM/fetchModels.d.ts +8 -1
- package/dist/server/src/serverFunctions/askLLM/fetchModels.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/fetchModels.js +15 -13
- package/dist/server/src/serverFunctions/askLLM/fetchModels.js.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/getChatCredentialAccess.d.ts +19 -0
- package/dist/server/src/serverFunctions/askLLM/getChatCredentialAccess.d.ts.map +1 -0
- package/dist/server/src/serverFunctions/askLLM/getChatCredentialAccess.js +32 -0
- package/dist/server/src/serverFunctions/askLLM/getChatCredentialAccess.js.map +1 -0
- package/dist/server/src/serverFunctions/askLLM/getCreateAgentInputWithDefaults.d.ts +2 -2
- package/dist/server/src/serverFunctions/askLLM/getLlmLimitWasReached.d.ts +1 -1
- package/dist/server/src/serverFunctions/askLLM/getLlmLimitWasReached.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/getLlmLimitWasReached.js +14 -30
- package/dist/server/src/serverFunctions/askLLM/getLlmLimitWasReached.js.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/getPastMessages.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/getValidatedAskLLMChatOptions.d.ts +5 -6
- package/dist/server/src/serverFunctions/askLLM/getValidatedAskLLMChatOptions.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/getValidatedAskLLMChatOptions.js +21 -22
- package/dist/server/src/serverFunctions/askLLM/getValidatedAskLLMChatOptions.js.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/handleToolUseResultConfirmation.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/parseLLMResponseObject.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/parseLLMResponseObject.js +18 -9
- package/dist/server/src/serverFunctions/askLLM/parseLLMResponseObject.js.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/prostglesLLMTools/getMCPServerTools.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/prostglesLLMTools/getMcpToolsWithDynamicDescription.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/saveToolUseResults.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/setupLLM.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/setupLLM.js +4 -0
- package/dist/server/src/serverFunctions/askLLM/setupLLM.js.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/setupLLMProviders.d.ts +2 -1
- package/dist/server/src/serverFunctions/askLLM/setupLLMProviders.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/askLLM/setupLLMProviders.js +23 -19
- package/dist/server/src/serverFunctions/askLLM/setupLLMProviders.js.map +1 -1
- package/dist/server/src/serverFunctions/deleteConnection.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/getConnectionAndDatabaseConfig.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/loadGeneratedWorkspaces/loadGeneratedWorkspaces.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/loadGeneratedWorkspaces/loadGeneratedWorkspacesFunction.d.ts.map +1 -1
- package/dist/server/src/serverFunctions/stateServerFunctions.d.ts +4 -4
- package/dist/server/src/serverFunctions/stateServerFunctions.d.ts.map +1 -1
- package/dist/server/src/tableConfig/tableConfigAccessControl.d.ts.map +1 -1
- package/dist/server/src/tableConfig/tableConfigAccessControl.js +11 -4
- package/dist/server/src/tableConfig/tableConfigAccessControl.js.map +1 -1
- package/dist/server/src/tableConfig/tableConfigLlm/tableConfigLlm.d.ts.map +1 -1
- package/dist/server/src/tableConfig/tableConfigLlm/tableConfigLlm.js +17 -13
- package/dist/server/src/tableConfig/tableConfigLlm/tableConfigLlm.js.map +1 -1
- package/dist/server/src/tableConfig/tableConfigLlm/tableConfigLlmChats.d.ts.map +1 -1
- package/dist/server/src/tableConfig/tableConfigLlm/tableConfigLlmChats.js +0 -8
- package/dist/server/src/tableConfig/tableConfigLlm/tableConfigLlmChats.js.map +1 -1
- package/dist/server/src/tableHooks/database_configs.tableHooks.d.ts.map +1 -1
- package/dist/server/src/tableHooks/llm_credentials.tableHooks.d.ts.map +1 -1
- package/dist/server/src/tableHooks/tableHooks.d.ts +38 -23
- package/dist/server/src/tableHooks/tableHooks.d.ts.map +1 -1
- package/dist/server/src/tableHooks/users.tableHooks.d.ts +13 -8
- package/dist/server/src/tableHooks/users.tableHooks.d.ts.map +1 -1
- package/dist/server/src/upsertConnection.d.ts.map +1 -1
- package/package.json +2 -2
- package/sample_schemas/crypto/onMount.ts +8 -1
|
@@ -17,23 +17,84 @@ export declare const getProstglesMcpHub: (dbs: DBS) => Promise<{
|
|
|
17
17
|
outputSchema: import("prostgles-types").JSONB.FieldType | undefined;
|
|
18
18
|
serverDefinition: {
|
|
19
19
|
definition: {
|
|
20
|
-
readonly icon_path: "
|
|
21
|
-
readonly label: "
|
|
22
|
-
readonly description: "
|
|
20
|
+
readonly icon_path: "Web";
|
|
21
|
+
readonly label: "Web Search";
|
|
22
|
+
readonly description: "Search the web for information";
|
|
23
|
+
readonly config_schema: {
|
|
24
|
+
readonly access: {
|
|
25
|
+
readonly renderWithComponent: "WebMcpConfig";
|
|
26
|
+
readonly type: {
|
|
27
|
+
readonly mode: {
|
|
28
|
+
readonly enum: readonly ["allow", "deny", "unrestricted"];
|
|
29
|
+
readonly description: "Access control mode. 'allow' means only URLs matching the patterns in 'hosts' are allowed. 'deny' means URLs matching the patterns are blocked. 'unrestricted' means no URL filtering or blockedSubnet check is applied.";
|
|
30
|
+
};
|
|
31
|
+
readonly urls: {
|
|
32
|
+
readonly type: "string[]";
|
|
33
|
+
readonly description: "URL Patterns can be simple substrings (e.g., 'example.com') or wildcard patterns (e.g., '*.example.com'). The 'mode' field determines whether these patterns define allowed URLs or blocked URLs.";
|
|
34
|
+
};
|
|
35
|
+
readonly blockInternalSubnets: {
|
|
36
|
+
readonly type: "boolean";
|
|
37
|
+
readonly optional: true;
|
|
38
|
+
readonly description: "If true, the server will block requests to IP addresses in common internal subnets (e.g., localhost, private network ranges) in addition to any user-defined blocked subnets. Defaults to true.";
|
|
39
|
+
};
|
|
40
|
+
readonly internalSubnets: {
|
|
41
|
+
readonly optional: true;
|
|
42
|
+
readonly type: "string[]";
|
|
43
|
+
readonly description: "Optional list of IP subnets in CIDR notation";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
readonly defaultValue: {
|
|
47
|
+
readonly mode: "deny";
|
|
48
|
+
readonly urls: readonly [];
|
|
49
|
+
readonly blockInternalSubnets: true;
|
|
50
|
+
readonly internalSubnets: string[];
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
23
54
|
readonly tools: {
|
|
24
|
-
readonly
|
|
25
|
-
readonly
|
|
26
|
-
readonly description: string;
|
|
55
|
+
readonly fetch: {
|
|
56
|
+
readonly description: "Fetches from a URL, with optional conversion for documents. DO NOT USE THIS TO FETCH WEBSITE HTML. Use the get_snapshot tool instead.";
|
|
27
57
|
readonly schema: {
|
|
28
58
|
readonly type: {
|
|
29
|
-
readonly
|
|
30
|
-
readonly
|
|
31
|
-
readonly
|
|
59
|
+
readonly url: {
|
|
60
|
+
readonly type: "string";
|
|
61
|
+
readonly description: "URL of the content to fetch";
|
|
32
62
|
};
|
|
33
|
-
readonly
|
|
63
|
+
readonly method: {
|
|
64
|
+
readonly enum: readonly ["GET", "POST", "PUT", "DELETE", "PATCH"];
|
|
34
65
|
readonly optional: true;
|
|
66
|
+
readonly description: "HTTP method to use for the request. Defaults to GET.";
|
|
67
|
+
};
|
|
68
|
+
readonly body: {
|
|
35
69
|
readonly type: "string";
|
|
36
|
-
readonly
|
|
70
|
+
readonly optional: true;
|
|
71
|
+
readonly description: "Request body for POST, PUT, or PATCH requests. Ignored for GET and DELETE requests.";
|
|
72
|
+
};
|
|
73
|
+
readonly mode: {
|
|
74
|
+
readonly enum: readonly ["raw", "convert"];
|
|
75
|
+
readonly optional: true;
|
|
76
|
+
readonly description: "Defaults to raw. raw = fetch raw content without conversion. convert = attempt document conversion if the URL points to a document. Supported formats include txt, pdf, docx, pptx, jpg, png, and more.";
|
|
77
|
+
};
|
|
78
|
+
readonly headers: {
|
|
79
|
+
readonly optional: true;
|
|
80
|
+
readonly record: {
|
|
81
|
+
readonly values: "string";
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
readonly start_index: {
|
|
85
|
+
readonly type: "integer";
|
|
86
|
+
readonly optional: true;
|
|
87
|
+
readonly description: "Starting index for slicing the fetched content. Defaults to 0.";
|
|
88
|
+
};
|
|
89
|
+
readonly max_length: {
|
|
90
|
+
readonly type: "integer";
|
|
91
|
+
readonly optional: true;
|
|
92
|
+
readonly description: "Maximum length of the returned content slice. Defaults to returning the full content.";
|
|
93
|
+
};
|
|
94
|
+
readonly timeout: {
|
|
95
|
+
readonly type: "integer";
|
|
96
|
+
readonly optional: true;
|
|
97
|
+
readonly description: "Maximum time in milliseconds to wait for the fetch operation. Defaults to 15000 (15 seconds).";
|
|
37
98
|
};
|
|
38
99
|
};
|
|
39
100
|
};
|
|
@@ -41,1114 +102,400 @@ export declare const getProstglesMcpHub: (dbs: DBS) => Promise<{
|
|
|
41
102
|
readonly type: "string";
|
|
42
103
|
};
|
|
43
104
|
};
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
46
|
-
readonly annotations: {
|
|
47
|
-
readonly readOnlyHint: true;
|
|
48
|
-
};
|
|
49
|
-
readonly description: "Executes a SQL query on the connected database in readonly mode (no data can be changed, the transaction is rolled back at the end).";
|
|
105
|
+
readonly websearch: {
|
|
106
|
+
readonly description: "Performs a web search and return results. Powered by [SearXNG](https://docs.searxng.org/)";
|
|
50
107
|
readonly schema: {
|
|
51
108
|
readonly type: {
|
|
52
|
-
readonly
|
|
109
|
+
readonly q: {
|
|
53
110
|
readonly type: "string";
|
|
54
|
-
readonly description: "
|
|
111
|
+
readonly description: "The search query. This string is passed to external search services. Supports service-specific syntax (e.g., \"site:github.com SearXNG\" for Google)";
|
|
55
112
|
};
|
|
56
|
-
readonly
|
|
57
|
-
readonly type: "
|
|
113
|
+
readonly categories: {
|
|
114
|
+
readonly type: "string";
|
|
58
115
|
readonly optional: true;
|
|
59
|
-
readonly description: "
|
|
116
|
+
readonly description: " Comma-separated list of active search categories. Categories to search in (e.g., 'general,images,videos')";
|
|
60
117
|
};
|
|
61
|
-
readonly
|
|
118
|
+
readonly engines: {
|
|
119
|
+
readonly type: "string";
|
|
62
120
|
readonly optional: true;
|
|
63
|
-
readonly description: "
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
121
|
+
readonly description: "Comma-separated list of active search engines (e.g., 'google,bing,duckduckgo')";
|
|
122
|
+
};
|
|
123
|
+
readonly language: {
|
|
124
|
+
readonly type: "string";
|
|
125
|
+
readonly optional: true;
|
|
126
|
+
readonly description: "Language code for the search results (e.g., 'en' for English, 'fr' for French)";
|
|
127
|
+
};
|
|
128
|
+
readonly pageno: {
|
|
129
|
+
readonly type: "integer";
|
|
130
|
+
readonly optional: true;
|
|
131
|
+
readonly description: "Search result page number. Defaults to 1.";
|
|
132
|
+
};
|
|
133
|
+
readonly time_range: {
|
|
134
|
+
readonly enum: readonly ["day", "month", "year"];
|
|
135
|
+
readonly optional: true;
|
|
136
|
+
readonly description: "Time range filter for results ('day' = past day, 'month' = past month, 'year' = past year). Only supported by engines that implement time range filtering";
|
|
69
137
|
};
|
|
70
138
|
};
|
|
71
139
|
};
|
|
72
140
|
readonly outputSchema: {
|
|
73
|
-
readonly
|
|
74
|
-
readonly
|
|
75
|
-
|
|
141
|
+
readonly arrayOfType: {
|
|
142
|
+
readonly title: "string";
|
|
143
|
+
readonly content: "string";
|
|
144
|
+
readonly url: "string";
|
|
145
|
+
readonly score: "number";
|
|
146
|
+
readonly category: "string";
|
|
147
|
+
readonly engine: "string";
|
|
148
|
+
readonly img_src: "string";
|
|
149
|
+
readonly thumbnail: "any";
|
|
150
|
+
readonly template: {
|
|
151
|
+
readonly optional: true;
|
|
152
|
+
readonly type: "any";
|
|
153
|
+
};
|
|
154
|
+
readonly publishedDate: {
|
|
155
|
+
readonly optional: true;
|
|
156
|
+
readonly type: "any";
|
|
157
|
+
};
|
|
158
|
+
readonly parsed_url: {
|
|
159
|
+
readonly optional: true;
|
|
160
|
+
readonly type: "any";
|
|
161
|
+
};
|
|
162
|
+
readonly priority: {
|
|
163
|
+
readonly optional: true;
|
|
164
|
+
readonly type: "any";
|
|
165
|
+
};
|
|
166
|
+
readonly engines: {
|
|
167
|
+
readonly optional: true;
|
|
168
|
+
readonly type: "any";
|
|
169
|
+
};
|
|
170
|
+
readonly positions: {
|
|
171
|
+
readonly optional: true;
|
|
172
|
+
readonly type: "any";
|
|
173
|
+
};
|
|
174
|
+
readonly pubdate: {
|
|
175
|
+
readonly optional: true;
|
|
176
|
+
readonly type: "any";
|
|
76
177
|
};
|
|
77
178
|
};
|
|
78
179
|
};
|
|
79
180
|
};
|
|
80
|
-
readonly
|
|
81
|
-
readonly
|
|
82
|
-
readonly annotations: {
|
|
83
|
-
readonly readOnlyHint: false;
|
|
84
|
-
readonly destructiveHint: true;
|
|
85
|
-
};
|
|
86
|
-
readonly description: "Executes a SQL query on the connected database in commit mode (data can be changed, the transaction committed at the end).";
|
|
181
|
+
readonly get_snapshot: {
|
|
182
|
+
readonly description: "Get a snapshot of a web page";
|
|
87
183
|
readonly schema: {
|
|
88
184
|
readonly type: {
|
|
89
|
-
readonly
|
|
185
|
+
readonly url: {
|
|
90
186
|
readonly type: "string";
|
|
91
|
-
readonly description: "
|
|
92
|
-
};
|
|
93
|
-
readonly query_timeout: {
|
|
94
|
-
readonly type: "number";
|
|
95
|
-
readonly optional: true;
|
|
96
|
-
readonly description: "Maximum time in milliseconds the query will be allowed to run. Defaults to 30000.";
|
|
97
|
-
};
|
|
98
|
-
readonly query_params: {
|
|
99
|
-
readonly optional: true;
|
|
100
|
-
readonly description: "Query parameters to use in the SQL query. Must satisfy the query schema. Supports index based ($1, $2, etc.) and named parameters (${paramName}).";
|
|
101
|
-
readonly oneOf: readonly ["any[]", {
|
|
102
|
-
readonly record: {
|
|
103
|
-
readonly values: "any";
|
|
104
|
-
};
|
|
105
|
-
}];
|
|
187
|
+
readonly description: "URL of the web page to snapshot";
|
|
106
188
|
};
|
|
107
189
|
};
|
|
108
190
|
};
|
|
109
191
|
readonly outputSchema: {
|
|
110
|
-
readonly
|
|
111
|
-
readonly record: {
|
|
112
|
-
readonly values: "any";
|
|
113
|
-
};
|
|
114
|
-
};
|
|
192
|
+
readonly type: "string";
|
|
115
193
|
};
|
|
116
194
|
};
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
119
|
-
readonly description: "Counts rows in a table that satisfy a filter.";
|
|
120
|
-
readonly annotations: {
|
|
121
|
-
readonly readOnlyHint: true;
|
|
122
|
-
};
|
|
195
|
+
readonly get_document_text: {
|
|
196
|
+
readonly description: "Get text contents of a document";
|
|
123
197
|
readonly schema: {
|
|
124
198
|
readonly type: {
|
|
125
|
-
readonly
|
|
199
|
+
readonly url: {
|
|
200
|
+
readonly type: "string";
|
|
201
|
+
};
|
|
202
|
+
readonly from_formats: {
|
|
126
203
|
readonly optional: true;
|
|
127
|
-
readonly
|
|
128
|
-
|
|
129
|
-
}, "string[]", {
|
|
130
|
-
readonly record: {
|
|
131
|
-
readonly values: "any";
|
|
132
|
-
};
|
|
133
|
-
}];
|
|
134
|
-
readonly description: "Fields to select. Omit or use \"*\" to select all allowed fields. Supports column arrays, inclusion/exclusion objects, functions and joins.";
|
|
204
|
+
readonly type: "string[]";
|
|
205
|
+
readonly allowedValues: readonly ["docx", "pptx", "html", "image", "pdf", "asciidoc", "md", "csv", "xlsx", "xml_uspto", "xml_jats", "xml_xbrl", "mets_gbs", "json_docling", "audio", "vtt", "latex"];
|
|
135
206
|
};
|
|
136
|
-
readonly
|
|
207
|
+
readonly image_export_mode: {
|
|
137
208
|
readonly optional: true;
|
|
138
|
-
readonly
|
|
139
|
-
|
|
140
|
-
readonly values: {
|
|
141
|
-
readonly oneOf: readonly [{
|
|
142
|
-
readonly enum: readonly [1, -1];
|
|
143
|
-
}, "boolean"];
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
}, {
|
|
147
|
-
readonly arrayOf: {
|
|
148
|
-
readonly record: {
|
|
149
|
-
readonly values: {
|
|
150
|
-
readonly oneOf: readonly [{
|
|
151
|
-
readonly enum: readonly [1, -1];
|
|
152
|
-
}, "boolean"];
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
}, {
|
|
157
|
-
readonly arrayOfType: {
|
|
158
|
-
readonly key: "string";
|
|
159
|
-
readonly asc: {
|
|
160
|
-
readonly optional: true;
|
|
161
|
-
readonly nullable: true;
|
|
162
|
-
readonly oneOf: readonly [{
|
|
163
|
-
readonly enum: readonly [1, -1];
|
|
164
|
-
}, "boolean"];
|
|
165
|
-
};
|
|
166
|
-
readonly nulls: {
|
|
167
|
-
readonly enum: readonly ["first", "last"];
|
|
168
|
-
readonly optional: true;
|
|
169
|
-
readonly nullable: true;
|
|
170
|
-
};
|
|
171
|
-
readonly nullEmpty: {
|
|
172
|
-
readonly type: "boolean";
|
|
173
|
-
readonly optional: true;
|
|
174
|
-
readonly nullable: true;
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
}, {
|
|
178
|
-
readonly type: {
|
|
179
|
-
readonly key: "string";
|
|
180
|
-
readonly asc: {
|
|
181
|
-
readonly optional: true;
|
|
182
|
-
readonly nullable: true;
|
|
183
|
-
readonly oneOf: readonly [{
|
|
184
|
-
readonly enum: readonly [1, -1];
|
|
185
|
-
}, "boolean"];
|
|
186
|
-
};
|
|
187
|
-
readonly nulls: {
|
|
188
|
-
readonly enum: readonly ["first", "last"];
|
|
189
|
-
readonly optional: true;
|
|
190
|
-
readonly nullable: true;
|
|
191
|
-
};
|
|
192
|
-
readonly nullEmpty: {
|
|
193
|
-
readonly type: "boolean";
|
|
194
|
-
readonly optional: true;
|
|
195
|
-
readonly nullable: true;
|
|
196
|
-
};
|
|
197
|
-
};
|
|
198
|
-
}];
|
|
209
|
+
readonly enum: readonly ["placeholder", "embedded", "referenced"];
|
|
210
|
+
readonly description: "Image export mode for the document (in case of JSON, Markdown or HTML). Allowed values: placeholder, embedded, referenced. Optional, defaults to Embedded.";
|
|
199
211
|
};
|
|
200
|
-
readonly
|
|
212
|
+
readonly page_range: {
|
|
213
|
+
readonly tuple: readonly ["integer", "integer"];
|
|
201
214
|
readonly optional: true;
|
|
202
|
-
readonly
|
|
203
|
-
readonly type: "integer";
|
|
215
|
+
readonly description: "Only convert a range of pages. The page number starts at 1. For example, [1, 3] will convert only the first and third pages of the document.";
|
|
204
216
|
};
|
|
205
|
-
readonly
|
|
217
|
+
readonly do_ocr: {
|
|
218
|
+
readonly type: "boolean";
|
|
206
219
|
readonly optional: true;
|
|
207
|
-
readonly
|
|
220
|
+
readonly description: "If enabled, the bitmap content will be processed using OCR. Boolean. Optional, defaults to true";
|
|
208
221
|
};
|
|
209
|
-
readonly
|
|
210
|
-
readonly optional: true;
|
|
222
|
+
readonly force_ocr: {
|
|
211
223
|
readonly type: "boolean";
|
|
212
|
-
};
|
|
213
|
-
readonly having: {
|
|
214
224
|
readonly optional: true;
|
|
215
|
-
readonly description: "
|
|
216
|
-
readonly record: {
|
|
217
|
-
readonly values: "any";
|
|
218
|
-
};
|
|
225
|
+
readonly description: "If enabled, replace existing text with OCR-generated text over content. Boolean. Optional, defaults to false.";
|
|
219
226
|
};
|
|
220
|
-
readonly
|
|
221
|
-
|
|
227
|
+
readonly ocr_engine: {
|
|
228
|
+
readonly enum: readonly ["auto", "easyocr", "ocrmac", "rapidocr", "tesserocr", "tesseract"];
|
|
222
229
|
readonly optional: true;
|
|
223
|
-
readonly description: "
|
|
224
|
-
readonly record: {
|
|
225
|
-
readonly values: "any";
|
|
226
|
-
};
|
|
230
|
+
readonly description: "The OCR engine to use. String. Allowed values: auto, easyocr, ocrmac, rapidocr, tesserocr, tesseract. Optional, defaults to easyocr.";
|
|
227
231
|
};
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
readonly outputSchema: "number";
|
|
231
|
-
};
|
|
232
|
-
readonly find: {
|
|
233
|
-
readonly icon: "TableSearch";
|
|
234
|
-
readonly description: "Selects rows from a table.";
|
|
235
|
-
readonly annotations: {
|
|
236
|
-
readonly readOnlyHint: true;
|
|
237
|
-
};
|
|
238
|
-
readonly schema: {
|
|
239
|
-
readonly type: {
|
|
240
|
-
readonly limit: {
|
|
241
|
-
readonly description: "Defaults to 10. Use null for no limit.";
|
|
232
|
+
readonly ocr_lang: {
|
|
233
|
+
readonly type: "string[]";
|
|
242
234
|
readonly optional: true;
|
|
243
|
-
readonly
|
|
244
|
-
readonly type: "integer";
|
|
235
|
+
readonly description: "List of languages used by the OCR engine. Note that each OCR engine has different values for the language names. String or list of strings. Optional, defaults to empty.";
|
|
245
236
|
};
|
|
246
|
-
readonly
|
|
237
|
+
readonly document_timeout: {
|
|
247
238
|
readonly optional: true;
|
|
248
|
-
readonly
|
|
249
|
-
|
|
250
|
-
}, "string[]", {
|
|
251
|
-
readonly record: {
|
|
252
|
-
readonly values: "any";
|
|
253
|
-
};
|
|
254
|
-
}];
|
|
255
|
-
readonly description: "Fields to select. Omit or use \"*\" to select all allowed fields. Supports column arrays, inclusion/exclusion objects, functions and joins.";
|
|
239
|
+
readonly type: "number";
|
|
240
|
+
readonly description: "The timeout for processing each document, in seconds.";
|
|
256
241
|
};
|
|
257
|
-
readonly
|
|
242
|
+
readonly pdf_backend: {
|
|
243
|
+
readonly enum: readonly ["pypdfium2", "docling_parse", "dlparse_v1", "dlparse_v2", "dlparse_v4"];
|
|
258
244
|
readonly optional: true;
|
|
259
|
-
readonly
|
|
260
|
-
readonly record: {
|
|
261
|
-
readonly values: {
|
|
262
|
-
readonly oneOf: readonly [{
|
|
263
|
-
readonly enum: readonly [1, -1];
|
|
264
|
-
}, "boolean"];
|
|
265
|
-
};
|
|
266
|
-
};
|
|
267
|
-
}, {
|
|
268
|
-
readonly arrayOf: {
|
|
269
|
-
readonly record: {
|
|
270
|
-
readonly values: {
|
|
271
|
-
readonly oneOf: readonly [{
|
|
272
|
-
readonly enum: readonly [1, -1];
|
|
273
|
-
}, "boolean"];
|
|
274
|
-
};
|
|
275
|
-
};
|
|
276
|
-
};
|
|
277
|
-
}, {
|
|
278
|
-
readonly arrayOfType: {
|
|
279
|
-
readonly key: "string";
|
|
280
|
-
readonly asc: {
|
|
281
|
-
readonly optional: true;
|
|
282
|
-
readonly nullable: true;
|
|
283
|
-
readonly oneOf: readonly [{
|
|
284
|
-
readonly enum: readonly [1, -1];
|
|
285
|
-
}, "boolean"];
|
|
286
|
-
};
|
|
287
|
-
readonly nulls: {
|
|
288
|
-
readonly enum: readonly ["first", "last"];
|
|
289
|
-
readonly optional: true;
|
|
290
|
-
readonly nullable: true;
|
|
291
|
-
};
|
|
292
|
-
readonly nullEmpty: {
|
|
293
|
-
readonly type: "boolean";
|
|
294
|
-
readonly optional: true;
|
|
295
|
-
readonly nullable: true;
|
|
296
|
-
};
|
|
297
|
-
};
|
|
298
|
-
}, {
|
|
299
|
-
readonly type: {
|
|
300
|
-
readonly key: "string";
|
|
301
|
-
readonly asc: {
|
|
302
|
-
readonly optional: true;
|
|
303
|
-
readonly nullable: true;
|
|
304
|
-
readonly oneOf: readonly [{
|
|
305
|
-
readonly enum: readonly [1, -1];
|
|
306
|
-
}, "boolean"];
|
|
307
|
-
};
|
|
308
|
-
readonly nulls: {
|
|
309
|
-
readonly enum: readonly ["first", "last"];
|
|
310
|
-
readonly optional: true;
|
|
311
|
-
readonly nullable: true;
|
|
312
|
-
};
|
|
313
|
-
readonly nullEmpty: {
|
|
314
|
-
readonly type: "boolean";
|
|
315
|
-
readonly optional: true;
|
|
316
|
-
readonly nullable: true;
|
|
317
|
-
};
|
|
318
|
-
};
|
|
319
|
-
}];
|
|
245
|
+
readonly description: "The PDF backend to use. String. Allowed values: pypdfium2, docling_parse, dlparse_v1, dlparse_v2, dlparse_v4. Optional, defaults to docling_parse.";
|
|
320
246
|
};
|
|
321
|
-
readonly
|
|
247
|
+
readonly table_mode: {
|
|
248
|
+
readonly enum: readonly ["fast", "accurate"];
|
|
322
249
|
readonly optional: true;
|
|
323
|
-
readonly
|
|
250
|
+
readonly description: "Mode to use for table structure, String. Allowed values: fast, accurate. Optional, defaults to accurate.";
|
|
324
251
|
};
|
|
325
|
-
readonly
|
|
252
|
+
readonly do_table_structure: {
|
|
253
|
+
readonly type: "boolean";
|
|
326
254
|
readonly optional: true;
|
|
255
|
+
readonly description: "If enabled, the table structure will be extracted. Boolean. Optional, defaults to true.";
|
|
256
|
+
};
|
|
257
|
+
readonly include_images: {
|
|
327
258
|
readonly type: "boolean";
|
|
259
|
+
readonly optional: true;
|
|
260
|
+
readonly description: "If enabled, images will be extracted from the document. Boolean. Optional, defaults to true.";
|
|
328
261
|
};
|
|
329
|
-
readonly
|
|
262
|
+
readonly md_page_break_placeholder: {
|
|
263
|
+
readonly type: "string";
|
|
330
264
|
readonly optional: true;
|
|
331
|
-
readonly description: "
|
|
332
|
-
readonly record: {
|
|
333
|
-
readonly values: "any";
|
|
334
|
-
};
|
|
265
|
+
readonly description: "Add this placeholder between pages in the markdown output.";
|
|
335
266
|
};
|
|
336
|
-
readonly
|
|
337
|
-
|
|
338
|
-
readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
|
|
339
|
-
readonly record: {
|
|
340
|
-
readonly values: "any";
|
|
341
|
-
};
|
|
267
|
+
readonly images_scale: {
|
|
268
|
+
readonly type: "number";
|
|
342
269
|
readonly optional: true;
|
|
270
|
+
readonly description: "Scale factor for images. Float. Optional, defaults to 2.0.";
|
|
343
271
|
};
|
|
344
272
|
};
|
|
345
273
|
};
|
|
346
274
|
readonly outputSchema: {
|
|
347
|
-
readonly
|
|
348
|
-
readonly record: {
|
|
349
|
-
readonly values: "any";
|
|
350
|
-
};
|
|
351
|
-
};
|
|
275
|
+
readonly type: "string";
|
|
352
276
|
};
|
|
353
277
|
};
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
handler: ProstglesMcpServerHandler;
|
|
281
|
+
} | {
|
|
282
|
+
definition: {
|
|
283
|
+
readonly icon_path: "React";
|
|
284
|
+
readonly label: "Web Dev Environment";
|
|
285
|
+
readonly description: "React vite based web development environment.";
|
|
286
|
+
readonly config_schema: undefined;
|
|
287
|
+
readonly tools: {
|
|
288
|
+
readonly list_directory: {
|
|
289
|
+
readonly description: "List files in the web app directory. Will truncate long lists.";
|
|
360
290
|
readonly schema: {
|
|
361
291
|
readonly type: {
|
|
362
|
-
readonly
|
|
363
|
-
|
|
364
|
-
readonly description: "
|
|
365
|
-
readonly record: {
|
|
366
|
-
readonly values: "any";
|
|
367
|
-
};
|
|
368
|
-
};
|
|
369
|
-
readonly onConflict: {
|
|
370
|
-
readonly optional: true;
|
|
371
|
-
readonly oneOf: readonly [{
|
|
372
|
-
readonly enum: readonly ["DoNothing", "DoUpdate"];
|
|
373
|
-
}, {
|
|
374
|
-
readonly type: {
|
|
375
|
-
readonly action: {
|
|
376
|
-
readonly enum: readonly ["DoNothing", "DoUpdate"];
|
|
377
|
-
};
|
|
378
|
-
readonly conflictColumns: "string[]";
|
|
379
|
-
};
|
|
380
|
-
}];
|
|
381
|
-
readonly description: "DoNothing ignores conflicts. DoUpdate updates non-conflicting columns. Use { action, conflictColumns } to specify the conflict target.";
|
|
382
|
-
};
|
|
383
|
-
readonly removeDisallowedFields: {
|
|
384
|
-
readonly type: "boolean";
|
|
385
|
-
readonly optional: true;
|
|
386
|
-
};
|
|
387
|
-
readonly returning: {
|
|
292
|
+
readonly directoryPath: {
|
|
293
|
+
readonly type: "string";
|
|
294
|
+
readonly description: "Directory path to list files from the web app directory. Example: 'src/components'";
|
|
388
295
|
readonly optional: true;
|
|
389
|
-
readonly oneOf: readonly [{
|
|
390
|
-
readonly enum: readonly ["*", ""];
|
|
391
|
-
}, "string[]", {
|
|
392
|
-
readonly record: {
|
|
393
|
-
readonly values: "any";
|
|
394
|
-
};
|
|
395
|
-
}];
|
|
396
|
-
readonly description: "Fields to return for newly inserted data. Use { \"*\": 1 } to return all fields. Nothing will be returned otherwise";
|
|
397
296
|
};
|
|
398
297
|
};
|
|
399
298
|
};
|
|
400
299
|
readonly outputSchema: {
|
|
401
|
-
readonly
|
|
402
|
-
readonly description: "Inserted row returned based on the returning fields. Nothing will be returned if returning is not provided.";
|
|
403
|
-
readonly record: {
|
|
404
|
-
readonly values: "any";
|
|
405
|
-
};
|
|
300
|
+
readonly arrayOf: "string";
|
|
406
301
|
};
|
|
407
302
|
};
|
|
408
|
-
readonly
|
|
409
|
-
readonly
|
|
410
|
-
readonly description: "Inserts rows into a table. Also uploads files when tableName is the connection's enabled managed file table: each item in data must contain original_name and data: { encoding: 'base64', data: '<base64 bytes>' }. Storage metadata such as content_type and url is generated automatically.";
|
|
411
|
-
readonly annotations: {
|
|
412
|
-
readonly readOnlyHint: false;
|
|
413
|
-
};
|
|
303
|
+
readonly read_files: {
|
|
304
|
+
readonly description: "Read files from the web app directory";
|
|
414
305
|
readonly schema: {
|
|
415
306
|
readonly type: {
|
|
416
|
-
readonly
|
|
417
|
-
|
|
418
|
-
readonly
|
|
419
|
-
readonly arrayOf: {
|
|
420
|
-
readonly record: {
|
|
421
|
-
readonly values: "any";
|
|
422
|
-
};
|
|
423
|
-
};
|
|
307
|
+
readonly filePaths: {
|
|
308
|
+
readonly description: "File paths to read from the web app directory.";
|
|
309
|
+
readonly arrayOf: "string";
|
|
424
310
|
};
|
|
425
|
-
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
readonly outputSchema: {
|
|
314
|
+
readonly arrayOfType: {
|
|
315
|
+
readonly filePath: "string";
|
|
316
|
+
readonly content: "string";
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
readonly search_files: {
|
|
321
|
+
readonly description: "Search files by content and/or file name in the web app directory";
|
|
322
|
+
readonly schema: {
|
|
323
|
+
readonly type: {
|
|
324
|
+
readonly contentQuery: {
|
|
325
|
+
readonly type: "string";
|
|
326
|
+
readonly description: "File content search query. Example: 'useState' to search for files that include 'useState'";
|
|
426
327
|
readonly optional: true;
|
|
427
|
-
readonly oneOf: readonly [{
|
|
428
|
-
readonly enum: readonly ["DoNothing", "DoUpdate"];
|
|
429
|
-
}, {
|
|
430
|
-
readonly type: {
|
|
431
|
-
readonly action: {
|
|
432
|
-
readonly enum: readonly ["DoNothing", "DoUpdate"];
|
|
433
|
-
};
|
|
434
|
-
readonly conflictColumns: "string[]";
|
|
435
|
-
};
|
|
436
|
-
}];
|
|
437
|
-
readonly description: "DoNothing ignores conflicts. DoUpdate updates non-conflicting columns. Use { action, conflictColumns } to specify the conflict target.";
|
|
438
328
|
};
|
|
439
|
-
readonly
|
|
440
|
-
readonly type: "
|
|
329
|
+
readonly fileNameQuery: {
|
|
330
|
+
readonly type: "string";
|
|
441
331
|
readonly optional: true;
|
|
332
|
+
readonly description: "File name search query to further filter search results. Example: 'Counter' to only include files with 'Counter' in the file name.";
|
|
442
333
|
};
|
|
443
|
-
readonly
|
|
334
|
+
readonly extensions: {
|
|
335
|
+
readonly description: "File extensions to limit the search to (e.g., ['ts', 'tsx', 'js', 'jsx'])";
|
|
336
|
+
readonly arrayOf: "string";
|
|
444
337
|
readonly optional: true;
|
|
445
|
-
readonly oneOf: readonly [{
|
|
446
|
-
readonly enum: readonly ["*", ""];
|
|
447
|
-
}, "string[]", {
|
|
448
|
-
readonly record: {
|
|
449
|
-
readonly values: "any";
|
|
450
|
-
};
|
|
451
|
-
}];
|
|
452
|
-
readonly description: "Fields to return for newly inserted data. Use { \"*\": 1 } to return all fields. Nothing will be returned otherwise";
|
|
453
338
|
};
|
|
454
339
|
};
|
|
455
340
|
};
|
|
456
341
|
readonly outputSchema: {
|
|
457
|
-
readonly
|
|
458
|
-
readonly
|
|
459
|
-
|
|
460
|
-
};
|
|
342
|
+
readonly arrayOfType: {
|
|
343
|
+
readonly filePath: "string";
|
|
344
|
+
readonly matchedContent: "string";
|
|
461
345
|
};
|
|
462
|
-
readonly optional: true;
|
|
463
|
-
readonly description: "Inserted rows returned based on the returning fields. Nothing will be returned if returning is not provided.";
|
|
464
346
|
};
|
|
465
347
|
};
|
|
466
|
-
readonly
|
|
467
|
-
readonly
|
|
468
|
-
readonly description: "Updates rows in a table.";
|
|
469
|
-
readonly annotations: {
|
|
470
|
-
readonly destructiveHint: true;
|
|
471
|
-
readonly readOnlyHint: false;
|
|
472
|
-
};
|
|
348
|
+
readonly create_component_quick_feedback_preview: {
|
|
349
|
+
readonly description: string;
|
|
473
350
|
readonly schema: {
|
|
474
351
|
readonly type: {
|
|
475
|
-
readonly
|
|
476
|
-
readonly
|
|
477
|
-
readonly
|
|
478
|
-
readonly values: "any";
|
|
479
|
-
};
|
|
480
|
-
};
|
|
481
|
-
readonly removeDisallowedFields: {
|
|
482
|
-
readonly type: "boolean";
|
|
483
|
-
readonly optional: true;
|
|
484
|
-
readonly description: "Whether to remove fields that are not allowed to be updated instead of throwing an error.";
|
|
352
|
+
readonly indexTsx: {
|
|
353
|
+
readonly type: "string";
|
|
354
|
+
readonly description: "tsx code for the component. Example: 'import { useState } from \"react\"; ...'";
|
|
485
355
|
};
|
|
486
|
-
readonly
|
|
487
|
-
readonly
|
|
488
|
-
readonly type: "boolean";
|
|
356
|
+
readonly css: {
|
|
357
|
+
readonly type: "string";
|
|
489
358
|
readonly optional: true;
|
|
359
|
+
readonly description: "css code for the component. Example: '.container { display: flex; }'";
|
|
490
360
|
};
|
|
491
|
-
readonly
|
|
361
|
+
readonly dependencies: {
|
|
362
|
+
readonly description: "Dependencies to install in the environment (e.g., react, axios)";
|
|
363
|
+
readonly arrayOf: "string";
|
|
492
364
|
readonly optional: true;
|
|
493
|
-
readonly oneOf: readonly [{
|
|
494
|
-
readonly enum: readonly ["*", ""];
|
|
495
|
-
}, "string[]", {
|
|
496
|
-
readonly record: {
|
|
497
|
-
readonly values: "any";
|
|
498
|
-
};
|
|
499
|
-
}];
|
|
500
|
-
readonly description: "Fields to return for updated data. Use { \"*\": 1 } to return all fields. Nothing will be returned otherwise";
|
|
501
|
-
};
|
|
502
|
-
readonly filter: {
|
|
503
|
-
readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
|
|
504
|
-
readonly record: {
|
|
505
|
-
readonly values: "any";
|
|
506
|
-
};
|
|
507
365
|
};
|
|
508
|
-
readonly tableName: "string";
|
|
509
366
|
};
|
|
510
367
|
};
|
|
511
368
|
readonly outputSchema: {
|
|
512
|
-
readonly
|
|
513
|
-
readonly oneOf: readonly [{
|
|
514
|
-
readonly record: {
|
|
515
|
-
readonly values: "any";
|
|
516
|
-
};
|
|
517
|
-
}, {
|
|
518
|
-
readonly arrayOf: {
|
|
519
|
-
readonly record: {
|
|
520
|
-
readonly values: "any";
|
|
521
|
-
};
|
|
522
|
-
};
|
|
523
|
-
}];
|
|
369
|
+
readonly type: "unknown";
|
|
524
370
|
};
|
|
525
371
|
};
|
|
526
|
-
readonly
|
|
527
|
-
readonly
|
|
528
|
-
readonly annotations: {
|
|
529
|
-
readonly destructiveHint: true;
|
|
530
|
-
readonly readOnlyHint: false;
|
|
531
|
-
};
|
|
532
|
-
readonly description: "Deletes rows from a table.";
|
|
372
|
+
readonly create_component: {
|
|
373
|
+
readonly description: "Create a react component";
|
|
533
374
|
readonly schema: {
|
|
534
375
|
readonly type: {
|
|
535
|
-
readonly
|
|
536
|
-
readonly
|
|
537
|
-
readonly
|
|
538
|
-
readonly enum: readonly ["*", ""];
|
|
539
|
-
}, "string[]", {
|
|
540
|
-
readonly record: {
|
|
541
|
-
readonly values: "any";
|
|
542
|
-
};
|
|
543
|
-
}];
|
|
544
|
-
readonly description: "Fields to return for the deleted rows. Use { \"*\": 1 } to return all fields. Nothing will be returned otherwise";
|
|
376
|
+
readonly entryPoint: {
|
|
377
|
+
readonly type: "string";
|
|
378
|
+
readonly description: "Entry point file for the component. Example: '@/components/Counter/Counter.tsx'";
|
|
545
379
|
};
|
|
546
|
-
readonly
|
|
547
|
-
readonly description: "
|
|
380
|
+
readonly files: {
|
|
381
|
+
readonly description: "tsx/css and other files for the component. Example: { \"@/components/Counter/Counter.tsx\": \"import { useState } from \"react\"; ...\" } ";
|
|
548
382
|
readonly record: {
|
|
549
|
-
readonly values: "
|
|
383
|
+
readonly values: "string";
|
|
550
384
|
};
|
|
551
385
|
};
|
|
552
|
-
readonly
|
|
386
|
+
readonly dependencies: {
|
|
387
|
+
readonly description: "Dependencies to install in the environment (e.g., react, axios)";
|
|
388
|
+
readonly arrayOf: "string";
|
|
389
|
+
readonly optional: true;
|
|
390
|
+
};
|
|
391
|
+
readonly devDependencies: {
|
|
392
|
+
readonly description: "Dev Dependencies to install in the environment (e.g., @types/pkg)";
|
|
393
|
+
readonly arrayOf: "string";
|
|
394
|
+
readonly optional: true;
|
|
395
|
+
};
|
|
396
|
+
readonly test: {
|
|
397
|
+
readonly description: "Playwright test to run against the component. Example: 'import { test, expect } from \"@playwright/react\"; ...'";
|
|
398
|
+
readonly type: "string";
|
|
399
|
+
};
|
|
553
400
|
};
|
|
554
401
|
};
|
|
555
402
|
readonly outputSchema: {
|
|
556
|
-
readonly
|
|
557
|
-
readonly arrayOf: {
|
|
558
|
-
readonly record: {
|
|
559
|
-
readonly values: "any";
|
|
560
|
-
};
|
|
561
|
-
};
|
|
562
|
-
}, {
|
|
563
|
-
readonly enum: readonly [undefined];
|
|
564
|
-
}];
|
|
403
|
+
readonly type: "unknown";
|
|
565
404
|
};
|
|
566
405
|
};
|
|
567
406
|
};
|
|
568
|
-
readonly config_schema: undefined;
|
|
569
407
|
};
|
|
570
408
|
handler: ProstglesMcpServerHandler;
|
|
571
409
|
} | {
|
|
572
410
|
definition: {
|
|
573
|
-
readonly icon_path: "
|
|
574
|
-
readonly label: "
|
|
575
|
-
readonly description: "
|
|
411
|
+
readonly icon_path: "CubeOutline";
|
|
412
|
+
readonly label: "Prostgles";
|
|
413
|
+
readonly description: "Tools to assist with Prostgles UI tasks";
|
|
414
|
+
readonly config_schema: undefined;
|
|
576
415
|
readonly tools: {
|
|
577
|
-
readonly
|
|
416
|
+
readonly compact_context: {
|
|
417
|
+
readonly icon: "ArrowCollapse";
|
|
578
418
|
readonly mode: undefined;
|
|
579
|
-
readonly description:
|
|
419
|
+
readonly description: string;
|
|
580
420
|
readonly schema: {
|
|
581
421
|
readonly type: {
|
|
582
|
-
readonly
|
|
583
|
-
readonly
|
|
584
|
-
readonly description: "Defaults to \"md\". Convert the document to a specific format.";
|
|
585
|
-
readonly enum: readonly ["md", "json", "yaml", "html", "html_split_page", "text", "doctags"];
|
|
422
|
+
readonly type: {
|
|
423
|
+
readonly enum: readonly ["conversation", "previous-message"];
|
|
586
424
|
};
|
|
587
|
-
readonly
|
|
588
|
-
readonly
|
|
589
|
-
readonly
|
|
590
|
-
readonly allowedValues: readonly ["docx", "pptx", "html", "image", "pdf", "asciidoc", "md", "csv", "xlsx", "xml_uspto", "xml_jats", "xml_xbrl", "mets_gbs", "json_docling", "audio", "vtt", "latex"];
|
|
425
|
+
readonly summary: {
|
|
426
|
+
readonly type: "string";
|
|
427
|
+
readonly description: "When type=conversation it is a summary of the conversation so far. When type=previous-message it is a summary of the previous message.";
|
|
591
428
|
};
|
|
592
|
-
|
|
429
|
+
};
|
|
430
|
+
};
|
|
431
|
+
readonly outputSchema: "string";
|
|
432
|
+
};
|
|
433
|
+
readonly run_code_in_sandbox: {
|
|
434
|
+
readonly icon: "Docker";
|
|
435
|
+
readonly annotations: {
|
|
436
|
+
readonly openWorldHint: true;
|
|
437
|
+
};
|
|
438
|
+
readonly mode: undefined;
|
|
439
|
+
readonly description: string;
|
|
440
|
+
readonly schema: {
|
|
441
|
+
readonly type: {
|
|
442
|
+
readonly reason: {
|
|
443
|
+
readonly type: "string";
|
|
593
444
|
readonly optional: true;
|
|
594
|
-
readonly
|
|
595
|
-
readonly description: "Image export mode for the document (in case of JSON, Markdown or HTML). Allowed values: placeholder, embedded, referenced. Optional, defaults to Embedded.";
|
|
445
|
+
readonly description: "Reason for executing the code to provide context to the user. One short sentence is enough. ";
|
|
596
446
|
};
|
|
597
|
-
readonly
|
|
598
|
-
readonly
|
|
599
|
-
readonly
|
|
600
|
-
|
|
447
|
+
readonly files: {
|
|
448
|
+
readonly description: string;
|
|
449
|
+
readonly record: {
|
|
450
|
+
readonly partial: true;
|
|
451
|
+
readonly values: {
|
|
452
|
+
readonly type: "string";
|
|
453
|
+
readonly description: "File content. E.g.: 'import type { JSONB } from \"prostgles-types\";' ";
|
|
454
|
+
};
|
|
455
|
+
};
|
|
601
456
|
};
|
|
602
|
-
readonly
|
|
603
|
-
readonly type: "boolean";
|
|
457
|
+
readonly userInputValue: {
|
|
604
458
|
readonly optional: true;
|
|
605
|
-
readonly description: "
|
|
459
|
+
readonly description: "User populated values for the userInput keys. It will override the default values in userInput if provided. ";
|
|
460
|
+
readonly record: {
|
|
461
|
+
readonly values: "unknown";
|
|
462
|
+
};
|
|
606
463
|
};
|
|
607
|
-
readonly
|
|
608
|
-
readonly type: "boolean";
|
|
464
|
+
readonly timeout: {
|
|
609
465
|
readonly optional: true;
|
|
610
|
-
readonly
|
|
466
|
+
readonly type: "integer";
|
|
467
|
+
readonly description: "Maximum time in milliseconds the container will be allowed to run. Defaults to 30000. ";
|
|
611
468
|
};
|
|
612
|
-
readonly
|
|
613
|
-
readonly enum: readonly ["auto", "easyocr", "ocrmac", "rapidocr", "tesserocr", "tesseract"];
|
|
614
|
-
readonly optional: true;
|
|
615
|
-
readonly description: "The OCR engine to use. String. Allowed values: auto, easyocr, ocrmac, rapidocr, tesserocr, tesseract. Optional, defaults to easyocr.";
|
|
616
|
-
};
|
|
617
|
-
readonly ocr_lang: {
|
|
618
|
-
readonly type: "string[]";
|
|
619
|
-
readonly optional: true;
|
|
620
|
-
readonly description: "List of languages used by the OCR engine. Note that each OCR engine has different values for the language names. String or list of strings. Optional, defaults to empty.";
|
|
621
|
-
};
|
|
622
|
-
readonly document_timeout: {
|
|
623
|
-
readonly optional: true;
|
|
624
|
-
readonly type: "number";
|
|
625
|
-
readonly description: "The timeout for processing each document, in seconds.";
|
|
626
|
-
};
|
|
627
|
-
readonly pdf_backend: {
|
|
628
|
-
readonly enum: readonly ["pypdfium2", "docling_parse", "dlparse_v1", "dlparse_v2", "dlparse_v4"];
|
|
629
|
-
readonly optional: true;
|
|
630
|
-
readonly description: "The PDF backend to use. String. Allowed values: pypdfium2, docling_parse, dlparse_v1, dlparse_v2, dlparse_v4. Optional, defaults to docling_parse.";
|
|
631
|
-
};
|
|
632
|
-
readonly table_mode: {
|
|
633
|
-
readonly enum: readonly ["fast", "accurate"];
|
|
634
|
-
readonly optional: true;
|
|
635
|
-
readonly description: "Mode to use for table structure, String. Allowed values: fast, accurate. Optional, defaults to accurate.";
|
|
636
|
-
};
|
|
637
|
-
readonly do_table_structure: {
|
|
638
|
-
readonly type: "boolean";
|
|
639
|
-
readonly optional: true;
|
|
640
|
-
readonly description: "If enabled, the table structure will be extracted. Boolean. Optional, defaults to true.";
|
|
641
|
-
};
|
|
642
|
-
readonly include_images: {
|
|
643
|
-
readonly type: "boolean";
|
|
644
|
-
readonly optional: true;
|
|
645
|
-
readonly description: "If enabled, images will be extracted from the document. Boolean. Optional, defaults to true.";
|
|
646
|
-
};
|
|
647
|
-
readonly md_page_break_placeholder: {
|
|
648
|
-
readonly type: "string";
|
|
649
|
-
readonly optional: true;
|
|
650
|
-
readonly description: "Add this placeholder between pages in the markdown output.";
|
|
651
|
-
};
|
|
652
|
-
readonly images_scale: {
|
|
653
|
-
readonly type: "number";
|
|
654
|
-
readonly optional: true;
|
|
655
|
-
readonly description: "Scale factor for images. Float. Optional, defaults to 2.0.";
|
|
656
|
-
};
|
|
657
|
-
readonly fileAsBase64: "string";
|
|
658
|
-
readonly contentType: {
|
|
659
|
-
readonly enum: readonly ["application/pdf", "text/plain", "text/markdown", "text/x-markdown", "text/html", "application/xhtml+xml", "text/asciidoc", "text/x-asciidoc", "text/csv", "text/vtt", "text/x-tex", "application/x-tex", "text/x-latex", "application/xml", "text/xml", "application/mets+xml", "application/json", "application/msword", "application/x-msword", "application/rtf", "text/rtf", "application/x-rtf", "application/vnd.ms-excel", "application/x-msexcel", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.wordprocessingml.template", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.presentationml.template", "application/vnd.openxmlformats-officedocument.presentationml.slideshow", "application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template", "application/vnd.oasis.opendocument.spreadsheet", "application/vnd.oasis.opendocument.spreadsheet-template", "application/vnd.oasis.opendocument.presentation", "application/vnd.oasis.opendocument.presentation-template", "application/epub+zip", "message/rfc822", "application/vnd.ms-outlook", "application/x-mimearchive", "multipart/related", "image/png", "image/jpeg", "image/tiff", "image/gif", "image/bmp", "image/webp"];
|
|
660
|
-
};
|
|
661
|
-
};
|
|
662
|
-
};
|
|
663
|
-
readonly outputSchema: {
|
|
664
|
-
readonly type: "string";
|
|
665
|
-
};
|
|
666
|
-
};
|
|
667
|
-
};
|
|
668
|
-
readonly config_schema: undefined;
|
|
669
|
-
};
|
|
670
|
-
handler: ProstglesMcpServerHandler;
|
|
671
|
-
} | {
|
|
672
|
-
definition: {
|
|
673
|
-
readonly icon_path: "Web";
|
|
674
|
-
readonly label: "Web Search";
|
|
675
|
-
readonly description: "Search the web for information";
|
|
676
|
-
readonly config_schema: {
|
|
677
|
-
readonly access: {
|
|
678
|
-
readonly renderWithComponent: "WebMcpConfig";
|
|
679
|
-
readonly type: {
|
|
680
|
-
readonly mode: {
|
|
681
|
-
readonly enum: readonly ["allow", "deny", "unrestricted"];
|
|
682
|
-
readonly description: "Access control mode. 'allow' means only URLs matching the patterns in 'hosts' are allowed. 'deny' means URLs matching the patterns are blocked. 'unrestricted' means no URL filtering or blockedSubnet check is applied.";
|
|
683
|
-
};
|
|
684
|
-
readonly urls: {
|
|
685
|
-
readonly type: "string[]";
|
|
686
|
-
readonly description: "URL Patterns can be simple substrings (e.g., 'example.com') or wildcard patterns (e.g., '*.example.com'). The 'mode' field determines whether these patterns define allowed URLs or blocked URLs.";
|
|
687
|
-
};
|
|
688
|
-
readonly blockInternalSubnets: {
|
|
689
|
-
readonly type: "boolean";
|
|
690
|
-
readonly optional: true;
|
|
691
|
-
readonly description: "If true, the server will block requests to IP addresses in common internal subnets (e.g., localhost, private network ranges) in addition to any user-defined blocked subnets. Defaults to true.";
|
|
692
|
-
};
|
|
693
|
-
readonly internalSubnets: {
|
|
694
|
-
readonly optional: true;
|
|
695
|
-
readonly type: "string[]";
|
|
696
|
-
readonly description: "Optional list of IP subnets in CIDR notation";
|
|
697
|
-
};
|
|
698
|
-
};
|
|
699
|
-
readonly defaultValue: {
|
|
700
|
-
readonly mode: "deny";
|
|
701
|
-
readonly urls: readonly [];
|
|
702
|
-
readonly blockInternalSubnets: true;
|
|
703
|
-
readonly internalSubnets: string[];
|
|
704
|
-
};
|
|
705
|
-
};
|
|
706
|
-
};
|
|
707
|
-
readonly tools: {
|
|
708
|
-
readonly fetch: {
|
|
709
|
-
readonly description: "Fetches from a URL, with optional conversion for documents. DO NOT USE THIS TO FETCH WEBSITE HTML. Use the get_snapshot tool instead.";
|
|
710
|
-
readonly schema: {
|
|
711
|
-
readonly type: {
|
|
712
|
-
readonly url: {
|
|
713
|
-
readonly type: "string";
|
|
714
|
-
readonly description: "URL of the content to fetch";
|
|
715
|
-
};
|
|
716
|
-
readonly method: {
|
|
717
|
-
readonly enum: readonly ["GET", "POST", "PUT", "DELETE", "PATCH"];
|
|
718
|
-
readonly optional: true;
|
|
719
|
-
readonly description: "HTTP method to use for the request. Defaults to GET.";
|
|
720
|
-
};
|
|
721
|
-
readonly body: {
|
|
722
|
-
readonly type: "string";
|
|
723
|
-
readonly optional: true;
|
|
724
|
-
readonly description: "Request body for POST, PUT, or PATCH requests. Ignored for GET and DELETE requests.";
|
|
725
|
-
};
|
|
726
|
-
readonly mode: {
|
|
727
|
-
readonly enum: readonly ["raw", "convert"];
|
|
469
|
+
readonly networkMode: {
|
|
728
470
|
readonly optional: true;
|
|
729
|
-
readonly
|
|
471
|
+
readonly enum: readonly ["none", "bridge", "bridge-internal", "host"];
|
|
472
|
+
readonly description: "Network mode for the container. Defaults to 'bridge-internal'. Use 'bridge' mode to be able to access the database. Use 'bridge-internal' to access the database but not the internet.";
|
|
730
473
|
};
|
|
731
|
-
readonly
|
|
474
|
+
readonly environment: {
|
|
732
475
|
readonly optional: true;
|
|
476
|
+
readonly description: "Environment variables to set in the container";
|
|
733
477
|
readonly record: {
|
|
734
478
|
readonly values: "string";
|
|
479
|
+
readonly partial: true;
|
|
735
480
|
};
|
|
736
481
|
};
|
|
737
|
-
readonly
|
|
738
|
-
readonly type: "integer";
|
|
739
|
-
readonly optional: true;
|
|
740
|
-
readonly description: "Starting index for slicing the fetched content. Defaults to 0.";
|
|
741
|
-
};
|
|
742
|
-
readonly max_length: {
|
|
743
|
-
readonly type: "integer";
|
|
744
|
-
readonly optional: true;
|
|
745
|
-
readonly description: "Maximum length of the returned content slice. Defaults to returning the full content.";
|
|
746
|
-
};
|
|
747
|
-
readonly timeout: {
|
|
748
|
-
readonly type: "integer";
|
|
749
|
-
readonly optional: true;
|
|
750
|
-
readonly description: "Maximum time in milliseconds to wait for the fetch operation. Defaults to 15000 (15 seconds).";
|
|
751
|
-
};
|
|
752
|
-
};
|
|
753
|
-
};
|
|
754
|
-
readonly outputSchema: {
|
|
755
|
-
readonly type: "string";
|
|
756
|
-
};
|
|
757
|
-
};
|
|
758
|
-
readonly websearch: {
|
|
759
|
-
readonly description: "Performs a web search and return results. Powered by [SearXNG](https://docs.searxng.org/)";
|
|
760
|
-
readonly schema: {
|
|
761
|
-
readonly type: {
|
|
762
|
-
readonly q: {
|
|
763
|
-
readonly type: "string";
|
|
764
|
-
readonly description: "The search query. This string is passed to external search services. Supports service-specific syntax (e.g., \"site:github.com SearXNG\" for Google)";
|
|
765
|
-
};
|
|
766
|
-
readonly categories: {
|
|
767
|
-
readonly type: "string";
|
|
768
|
-
readonly optional: true;
|
|
769
|
-
readonly description: " Comma-separated list of active search categories. Categories to search in (e.g., 'general,images,videos')";
|
|
770
|
-
};
|
|
771
|
-
readonly engines: {
|
|
772
|
-
readonly type: "string";
|
|
482
|
+
readonly memory: {
|
|
773
483
|
readonly optional: true;
|
|
774
|
-
readonly description: "Comma-separated list of active search engines (e.g., 'google,bing,duckduckgo')";
|
|
775
|
-
};
|
|
776
|
-
readonly language: {
|
|
777
484
|
readonly type: "string";
|
|
778
|
-
readonly
|
|
779
|
-
readonly description: "Language code for the search results (e.g., 'en' for English, 'fr' for French)";
|
|
780
|
-
};
|
|
781
|
-
readonly pageno: {
|
|
782
|
-
readonly type: "integer";
|
|
783
|
-
readonly optional: true;
|
|
784
|
-
readonly description: "Search result page number. Defaults to 1.";
|
|
785
|
-
};
|
|
786
|
-
readonly time_range: {
|
|
787
|
-
readonly enum: readonly ["day", "month", "year"];
|
|
788
|
-
readonly optional: true;
|
|
789
|
-
readonly description: "Time range filter for results ('day' = past day, 'month' = past month, 'year' = past year). Only supported by engines that implement time range filtering";
|
|
790
|
-
};
|
|
791
|
-
};
|
|
792
|
-
};
|
|
793
|
-
readonly outputSchema: {
|
|
794
|
-
readonly arrayOfType: {
|
|
795
|
-
readonly title: "string";
|
|
796
|
-
readonly content: "string";
|
|
797
|
-
readonly url: "string";
|
|
798
|
-
readonly score: "number";
|
|
799
|
-
readonly category: "string";
|
|
800
|
-
readonly engine: "string";
|
|
801
|
-
readonly img_src: "string";
|
|
802
|
-
readonly thumbnail: "any";
|
|
803
|
-
readonly template: {
|
|
804
|
-
readonly optional: true;
|
|
805
|
-
readonly type: "any";
|
|
806
|
-
};
|
|
807
|
-
readonly publishedDate: {
|
|
808
|
-
readonly optional: true;
|
|
809
|
-
readonly type: "any";
|
|
810
|
-
};
|
|
811
|
-
readonly parsed_url: {
|
|
812
|
-
readonly optional: true;
|
|
813
|
-
readonly type: "any";
|
|
814
|
-
};
|
|
815
|
-
readonly priority: {
|
|
816
|
-
readonly optional: true;
|
|
817
|
-
readonly type: "any";
|
|
818
|
-
};
|
|
819
|
-
readonly engines: {
|
|
820
|
-
readonly optional: true;
|
|
821
|
-
readonly type: "any";
|
|
822
|
-
};
|
|
823
|
-
readonly positions: {
|
|
824
|
-
readonly optional: true;
|
|
825
|
-
readonly type: "any";
|
|
485
|
+
readonly description: "Memory limit (e.g., '512m', '1g'). Defaults to 512m";
|
|
826
486
|
};
|
|
827
|
-
readonly
|
|
487
|
+
readonly cpus: {
|
|
828
488
|
readonly optional: true;
|
|
829
|
-
readonly type: "any";
|
|
830
|
-
};
|
|
831
|
-
};
|
|
832
|
-
};
|
|
833
|
-
};
|
|
834
|
-
readonly get_snapshot: {
|
|
835
|
-
readonly description: "Get a snapshot of a web page";
|
|
836
|
-
readonly schema: {
|
|
837
|
-
readonly type: {
|
|
838
|
-
readonly url: {
|
|
839
489
|
readonly type: "string";
|
|
840
|
-
readonly description: "
|
|
841
|
-
};
|
|
842
|
-
};
|
|
843
|
-
};
|
|
844
|
-
readonly outputSchema: {
|
|
845
|
-
readonly type: "string";
|
|
846
|
-
};
|
|
847
|
-
};
|
|
848
|
-
readonly get_document_text: {
|
|
849
|
-
readonly description: "Get text contents of a document";
|
|
850
|
-
readonly schema: {
|
|
851
|
-
readonly type: {
|
|
852
|
-
readonly url: {
|
|
853
|
-
readonly type: "string";
|
|
854
|
-
};
|
|
855
|
-
readonly from_formats: {
|
|
856
|
-
readonly optional: true;
|
|
857
|
-
readonly type: "string[]";
|
|
858
|
-
readonly allowedValues: readonly ["docx", "pptx", "html", "image", "pdf", "asciidoc", "md", "csv", "xlsx", "xml_uspto", "xml_jats", "xml_xbrl", "mets_gbs", "json_docling", "audio", "vtt", "latex"];
|
|
490
|
+
readonly description: "CPU limit (e.g., '0.5', '1'). Defaults to 1";
|
|
859
491
|
};
|
|
860
|
-
readonly
|
|
492
|
+
readonly readOnly: {
|
|
861
493
|
readonly optional: true;
|
|
862
|
-
readonly
|
|
863
|
-
readonly description: "
|
|
494
|
+
readonly type: "boolean";
|
|
495
|
+
readonly description: "Whether to mount the filesystem as read-only. Defaults to true";
|
|
864
496
|
};
|
|
865
|
-
readonly
|
|
866
|
-
readonly
|
|
867
|
-
readonly optional: true;
|
|
868
|
-
readonly description: "Only convert a range of pages. The page number starts at 1. For example, [1, 3] will convert only the first and third pages of the document.";
|
|
869
|
-
};
|
|
870
|
-
readonly do_ocr: {
|
|
871
|
-
readonly type: "boolean";
|
|
872
|
-
readonly optional: true;
|
|
873
|
-
readonly description: "If enabled, the bitmap content will be processed using OCR. Boolean. Optional, defaults to true";
|
|
874
|
-
};
|
|
875
|
-
readonly force_ocr: {
|
|
876
|
-
readonly type: "boolean";
|
|
877
|
-
readonly optional: true;
|
|
878
|
-
readonly description: "If enabled, replace existing text with OCR-generated text over content. Boolean. Optional, defaults to false.";
|
|
879
|
-
};
|
|
880
|
-
readonly ocr_engine: {
|
|
881
|
-
readonly enum: readonly ["auto", "easyocr", "ocrmac", "rapidocr", "tesserocr", "tesseract"];
|
|
882
|
-
readonly optional: true;
|
|
883
|
-
readonly description: "The OCR engine to use. String. Allowed values: auto, easyocr, ocrmac, rapidocr, tesserocr, tesseract. Optional, defaults to easyocr.";
|
|
884
|
-
};
|
|
885
|
-
readonly ocr_lang: {
|
|
886
|
-
readonly type: "string[]";
|
|
887
|
-
readonly optional: true;
|
|
888
|
-
readonly description: "List of languages used by the OCR engine. Note that each OCR engine has different values for the language names. String or list of strings. Optional, defaults to empty.";
|
|
889
|
-
};
|
|
890
|
-
readonly document_timeout: {
|
|
891
|
-
readonly optional: true;
|
|
892
|
-
readonly type: "number";
|
|
893
|
-
readonly description: "The timeout for processing each document, in seconds.";
|
|
894
|
-
};
|
|
895
|
-
readonly pdf_backend: {
|
|
896
|
-
readonly enum: readonly ["pypdfium2", "docling_parse", "dlparse_v1", "dlparse_v2", "dlparse_v4"];
|
|
897
|
-
readonly optional: true;
|
|
898
|
-
readonly description: "The PDF backend to use. String. Allowed values: pypdfium2, docling_parse, dlparse_v1, dlparse_v2, dlparse_v4. Optional, defaults to docling_parse.";
|
|
899
|
-
};
|
|
900
|
-
readonly table_mode: {
|
|
901
|
-
readonly enum: readonly ["fast", "accurate"];
|
|
902
|
-
readonly optional: true;
|
|
903
|
-
readonly description: "Mode to use for table structure, String. Allowed values: fast, accurate. Optional, defaults to accurate.";
|
|
904
|
-
};
|
|
905
|
-
readonly do_table_structure: {
|
|
906
|
-
readonly type: "boolean";
|
|
907
|
-
readonly optional: true;
|
|
908
|
-
readonly description: "If enabled, the table structure will be extracted. Boolean. Optional, defaults to true.";
|
|
909
|
-
};
|
|
910
|
-
readonly include_images: {
|
|
911
|
-
readonly type: "boolean";
|
|
912
|
-
readonly optional: true;
|
|
913
|
-
readonly description: "If enabled, images will be extracted from the document. Boolean. Optional, defaults to true.";
|
|
914
|
-
};
|
|
915
|
-
readonly md_page_break_placeholder: {
|
|
916
|
-
readonly type: "string";
|
|
917
|
-
readonly optional: true;
|
|
918
|
-
readonly description: "Add this placeholder between pages in the markdown output.";
|
|
919
|
-
};
|
|
920
|
-
readonly images_scale: {
|
|
921
|
-
readonly type: "number";
|
|
922
|
-
readonly optional: true;
|
|
923
|
-
readonly description: "Scale factor for images. Float. Optional, defaults to 2.0.";
|
|
924
|
-
};
|
|
925
|
-
};
|
|
926
|
-
};
|
|
927
|
-
readonly outputSchema: {
|
|
928
|
-
readonly type: "string";
|
|
929
|
-
};
|
|
930
|
-
};
|
|
931
|
-
};
|
|
932
|
-
};
|
|
933
|
-
handler: ProstglesMcpServerHandler;
|
|
934
|
-
} | {
|
|
935
|
-
definition: {
|
|
936
|
-
readonly icon_path: "React";
|
|
937
|
-
readonly label: "Web Dev Environment";
|
|
938
|
-
readonly description: "React vite based web development environment.";
|
|
939
|
-
readonly config_schema: undefined;
|
|
940
|
-
readonly tools: {
|
|
941
|
-
readonly list_directory: {
|
|
942
|
-
readonly description: "List files in the web app directory. Will truncate long lists.";
|
|
943
|
-
readonly schema: {
|
|
944
|
-
readonly type: {
|
|
945
|
-
readonly directoryPath: {
|
|
946
|
-
readonly type: "string";
|
|
947
|
-
readonly description: "Directory path to list files from the web app directory. Example: 'src/components'";
|
|
948
|
-
readonly optional: true;
|
|
949
|
-
};
|
|
950
|
-
};
|
|
951
|
-
};
|
|
952
|
-
readonly outputSchema: {
|
|
953
|
-
readonly arrayOf: "string";
|
|
954
|
-
};
|
|
955
|
-
};
|
|
956
|
-
readonly read_files: {
|
|
957
|
-
readonly description: "Read files from the web app directory";
|
|
958
|
-
readonly schema: {
|
|
959
|
-
readonly type: {
|
|
960
|
-
readonly filePaths: {
|
|
961
|
-
readonly description: "File paths to read from the web app directory.";
|
|
962
|
-
readonly arrayOf: "string";
|
|
963
|
-
};
|
|
964
|
-
};
|
|
965
|
-
};
|
|
966
|
-
readonly outputSchema: {
|
|
967
|
-
readonly arrayOfType: {
|
|
968
|
-
readonly filePath: "string";
|
|
969
|
-
readonly content: "string";
|
|
970
|
-
};
|
|
971
|
-
};
|
|
972
|
-
};
|
|
973
|
-
readonly search_files: {
|
|
974
|
-
readonly description: "Search files by content and/or file name in the web app directory";
|
|
975
|
-
readonly schema: {
|
|
976
|
-
readonly type: {
|
|
977
|
-
readonly contentQuery: {
|
|
978
|
-
readonly type: "string";
|
|
979
|
-
readonly description: "File content search query. Example: 'useState' to search for files that include 'useState'";
|
|
980
|
-
readonly optional: true;
|
|
981
|
-
};
|
|
982
|
-
readonly fileNameQuery: {
|
|
983
|
-
readonly type: "string";
|
|
984
|
-
readonly optional: true;
|
|
985
|
-
readonly description: "File name search query to further filter search results. Example: 'Counter' to only include files with 'Counter' in the file name.";
|
|
986
|
-
};
|
|
987
|
-
readonly extensions: {
|
|
988
|
-
readonly description: "File extensions to limit the search to (e.g., ['ts', 'tsx', 'js', 'jsx'])";
|
|
989
|
-
readonly arrayOf: "string";
|
|
990
|
-
readonly optional: true;
|
|
991
|
-
};
|
|
992
|
-
};
|
|
993
|
-
};
|
|
994
|
-
readonly outputSchema: {
|
|
995
|
-
readonly arrayOfType: {
|
|
996
|
-
readonly filePath: "string";
|
|
997
|
-
readonly matchedContent: "string";
|
|
998
|
-
};
|
|
999
|
-
};
|
|
1000
|
-
};
|
|
1001
|
-
readonly create_component_quick_feedback_preview: {
|
|
1002
|
-
readonly description: string;
|
|
1003
|
-
readonly schema: {
|
|
1004
|
-
readonly type: {
|
|
1005
|
-
readonly indexTsx: {
|
|
1006
|
-
readonly type: "string";
|
|
1007
|
-
readonly description: "tsx code for the component. Example: 'import { useState } from \"react\"; ...'";
|
|
1008
|
-
};
|
|
1009
|
-
readonly css: {
|
|
1010
|
-
readonly type: "string";
|
|
1011
|
-
readonly optional: true;
|
|
1012
|
-
readonly description: "css code for the component. Example: '.container { display: flex; }'";
|
|
1013
|
-
};
|
|
1014
|
-
readonly dependencies: {
|
|
1015
|
-
readonly description: "Dependencies to install in the environment (e.g., react, axios)";
|
|
1016
|
-
readonly arrayOf: "string";
|
|
1017
|
-
readonly optional: true;
|
|
1018
|
-
};
|
|
1019
|
-
};
|
|
1020
|
-
};
|
|
1021
|
-
readonly outputSchema: {
|
|
1022
|
-
readonly type: "unknown";
|
|
1023
|
-
};
|
|
1024
|
-
};
|
|
1025
|
-
readonly create_component: {
|
|
1026
|
-
readonly description: "Create a react component";
|
|
1027
|
-
readonly schema: {
|
|
1028
|
-
readonly type: {
|
|
1029
|
-
readonly entryPoint: {
|
|
1030
|
-
readonly type: "string";
|
|
1031
|
-
readonly description: "Entry point file for the component. Example: '@/components/Counter/Counter.tsx'";
|
|
1032
|
-
};
|
|
1033
|
-
readonly files: {
|
|
1034
|
-
readonly description: "tsx/css and other files for the component. Example: { \"@/components/Counter/Counter.tsx\": \"import { useState } from \"react\"; ...\" } ";
|
|
1035
|
-
readonly record: {
|
|
1036
|
-
readonly values: "string";
|
|
1037
|
-
};
|
|
1038
|
-
};
|
|
1039
|
-
readonly dependencies: {
|
|
1040
|
-
readonly description: "Dependencies to install in the environment (e.g., react, axios)";
|
|
1041
|
-
readonly arrayOf: "string";
|
|
1042
|
-
readonly optional: true;
|
|
1043
|
-
};
|
|
1044
|
-
readonly devDependencies: {
|
|
1045
|
-
readonly description: "Dev Dependencies to install in the environment (e.g., @types/pkg)";
|
|
1046
|
-
readonly arrayOf: "string";
|
|
1047
|
-
readonly optional: true;
|
|
1048
|
-
};
|
|
1049
|
-
readonly test: {
|
|
1050
|
-
readonly description: "Playwright test to run against the component. Example: 'import { test, expect } from \"@playwright/react\"; ...'";
|
|
1051
|
-
readonly type: "string";
|
|
1052
|
-
};
|
|
1053
|
-
};
|
|
1054
|
-
};
|
|
1055
|
-
readonly outputSchema: {
|
|
1056
|
-
readonly type: "unknown";
|
|
1057
|
-
};
|
|
1058
|
-
};
|
|
1059
|
-
};
|
|
1060
|
-
};
|
|
1061
|
-
handler: ProstglesMcpServerHandler;
|
|
1062
|
-
} | {
|
|
1063
|
-
definition: {
|
|
1064
|
-
readonly icon_path: "CubeOutline";
|
|
1065
|
-
readonly label: "Prostgles";
|
|
1066
|
-
readonly description: "Tools to assist with Prostgles UI tasks";
|
|
1067
|
-
readonly config_schema: undefined;
|
|
1068
|
-
readonly tools: {
|
|
1069
|
-
readonly compact_context: {
|
|
1070
|
-
readonly icon: "ArrowCollapse";
|
|
1071
|
-
readonly mode: undefined;
|
|
1072
|
-
readonly description: string;
|
|
1073
|
-
readonly schema: {
|
|
1074
|
-
readonly type: {
|
|
1075
|
-
readonly type: {
|
|
1076
|
-
readonly enum: readonly ["conversation", "previous-message"];
|
|
1077
|
-
};
|
|
1078
|
-
readonly summary: {
|
|
1079
|
-
readonly type: "string";
|
|
1080
|
-
readonly description: "When type=conversation it is a summary of the conversation so far. When type=previous-message it is a summary of the previous message.";
|
|
1081
|
-
};
|
|
1082
|
-
};
|
|
1083
|
-
};
|
|
1084
|
-
readonly outputSchema: "string";
|
|
1085
|
-
};
|
|
1086
|
-
readonly run_code_in_sandbox: {
|
|
1087
|
-
readonly icon: "Docker";
|
|
1088
|
-
readonly annotations: {
|
|
1089
|
-
readonly openWorldHint: true;
|
|
1090
|
-
};
|
|
1091
|
-
readonly mode: undefined;
|
|
1092
|
-
readonly description: string;
|
|
1093
|
-
readonly schema: {
|
|
1094
|
-
readonly type: {
|
|
1095
|
-
readonly reason: {
|
|
1096
|
-
readonly type: "string";
|
|
1097
|
-
readonly optional: true;
|
|
1098
|
-
readonly description: "Reason for executing the code to provide context to the user. One short sentence is enough. ";
|
|
1099
|
-
};
|
|
1100
|
-
readonly files: {
|
|
1101
|
-
readonly description: string;
|
|
1102
|
-
readonly record: {
|
|
1103
|
-
readonly partial: true;
|
|
1104
|
-
readonly values: {
|
|
1105
|
-
readonly type: "string";
|
|
1106
|
-
readonly description: "File content. E.g.: 'import type { JSONB } from \"prostgles-types\";' ";
|
|
1107
|
-
};
|
|
1108
|
-
};
|
|
1109
|
-
};
|
|
1110
|
-
readonly userInputValue: {
|
|
1111
|
-
readonly optional: true;
|
|
1112
|
-
readonly description: "User populated values for the userInput keys. It will override the default values in userInput if provided. ";
|
|
1113
|
-
readonly record: {
|
|
1114
|
-
readonly values: "unknown";
|
|
1115
|
-
};
|
|
1116
|
-
};
|
|
1117
|
-
readonly timeout: {
|
|
1118
|
-
readonly optional: true;
|
|
1119
|
-
readonly type: "integer";
|
|
1120
|
-
readonly description: "Maximum time in milliseconds the container will be allowed to run. Defaults to 30000. ";
|
|
1121
|
-
};
|
|
1122
|
-
readonly networkMode: {
|
|
1123
|
-
readonly optional: true;
|
|
1124
|
-
readonly enum: readonly ["none", "bridge", "bridge-internal", "host"];
|
|
1125
|
-
readonly description: "Network mode for the container. Defaults to 'bridge-internal'. Use 'bridge' mode to be able to access the database. Use 'bridge-internal' to access the database but not the internet.";
|
|
1126
|
-
};
|
|
1127
|
-
readonly environment: {
|
|
1128
|
-
readonly optional: true;
|
|
1129
|
-
readonly description: "Environment variables to set in the container";
|
|
1130
|
-
readonly record: {
|
|
1131
|
-
readonly values: "string";
|
|
1132
|
-
readonly partial: true;
|
|
1133
|
-
};
|
|
1134
|
-
};
|
|
1135
|
-
readonly memory: {
|
|
1136
|
-
readonly optional: true;
|
|
1137
|
-
readonly type: "string";
|
|
1138
|
-
readonly description: "Memory limit (e.g., '512m', '1g'). Defaults to 512m";
|
|
1139
|
-
};
|
|
1140
|
-
readonly cpus: {
|
|
1141
|
-
readonly optional: true;
|
|
1142
|
-
readonly type: "string";
|
|
1143
|
-
readonly description: "CPU limit (e.g., '0.5', '1'). Defaults to 1";
|
|
1144
|
-
};
|
|
1145
|
-
readonly readOnly: {
|
|
1146
|
-
readonly optional: true;
|
|
1147
|
-
readonly type: "boolean";
|
|
1148
|
-
readonly description: "Whether to mount the filesystem as read-only. Defaults to true";
|
|
1149
|
-
};
|
|
1150
|
-
readonly userInput: {
|
|
1151
|
-
readonly description: string;
|
|
497
|
+
readonly userInput: {
|
|
498
|
+
readonly description: string;
|
|
1152
499
|
readonly optional: true;
|
|
1153
500
|
readonly record: {
|
|
1154
501
|
readonly values: {
|
|
@@ -3469,20 +2816,7 @@ export declare const getProstglesMcpHub: (dbs: DBS) => Promise<{
|
|
|
3469
2816
|
};
|
|
3470
2817
|
};
|
|
3471
2818
|
handler: ProstglesMcpServerHandler;
|
|
3472
|
-
}
|
|
3473
|
-
};
|
|
3474
|
-
fetchTools: (serverName: string, context: McpCallContextFetchTools) => Record<string, {
|
|
3475
|
-
name: string;
|
|
3476
|
-
description: string;
|
|
3477
|
-
inputSchema: import("../AnthropicMcpHub/McpTypes").McpTool["inputSchema"];
|
|
3478
|
-
} | undefined> | Promise<Record<string, {
|
|
3479
|
-
name: string;
|
|
3480
|
-
description: string;
|
|
3481
|
-
inputSchema: import("../AnthropicMcpHub/McpTypes").McpTool["inputSchema"];
|
|
3482
|
-
} | undefined>>;
|
|
3483
|
-
getServer: (serverName: string) => {
|
|
3484
|
-
server: import("./ProstglesMCPServerTypes").ProstglesMcpServerHandlerInstance | undefined;
|
|
3485
|
-
serverDefinition: {
|
|
2819
|
+
} | {
|
|
3486
2820
|
definition: {
|
|
3487
2821
|
readonly icon_path: "DatabaseOutline";
|
|
3488
2822
|
readonly label: "Database";
|
|
@@ -4135,7 +3469,20 @@ export declare const getProstglesMcpHub: (dbs: DBS) => Promise<{
|
|
|
4135
3469
|
readonly config_schema: undefined;
|
|
4136
3470
|
};
|
|
4137
3471
|
handler: ProstglesMcpServerHandler;
|
|
4138
|
-
}
|
|
3472
|
+
};
|
|
3473
|
+
};
|
|
3474
|
+
fetchTools: (serverName: string, context: McpCallContextFetchTools) => Record<string, {
|
|
3475
|
+
name: string;
|
|
3476
|
+
description: string;
|
|
3477
|
+
inputSchema: import("../AnthropicMcpHub/McpTypes").McpTool["inputSchema"];
|
|
3478
|
+
} | undefined> | Promise<Record<string, {
|
|
3479
|
+
name: string;
|
|
3480
|
+
description: string;
|
|
3481
|
+
inputSchema: import("../AnthropicMcpHub/McpTypes").McpTool["inputSchema"];
|
|
3482
|
+
} | undefined>>;
|
|
3483
|
+
getServer: (serverName: string) => {
|
|
3484
|
+
server: import("./ProstglesMCPServerTypes").ProstglesMcpServerHandlerInstance | undefined;
|
|
3485
|
+
serverDefinition: {
|
|
4139
3486
|
definition: {
|
|
4140
3487
|
readonly icon_path: "Web";
|
|
4141
3488
|
readonly label: "Web Search";
|
|
@@ -6903,37 +6250,690 @@ export declare const getProstglesMcpHub: (dbs: DBS) => Promise<{
|
|
|
6903
6250
|
};
|
|
6904
6251
|
};
|
|
6905
6252
|
readonly outputSchema: {
|
|
6906
|
-
readonly type: "unknown";
|
|
6253
|
+
readonly type: "unknown";
|
|
6254
|
+
};
|
|
6255
|
+
};
|
|
6256
|
+
readonly find_icons: {
|
|
6257
|
+
readonly icon: "ImageSearch";
|
|
6258
|
+
readonly mode: undefined;
|
|
6259
|
+
readonly description: "Search for icons by name. Returns a list of icon names that match the search query.";
|
|
6260
|
+
readonly schema: {
|
|
6261
|
+
readonly type: {
|
|
6262
|
+
readonly query: "string";
|
|
6263
|
+
};
|
|
6264
|
+
};
|
|
6265
|
+
readonly outputSchema: {
|
|
6266
|
+
readonly type: "string[]";
|
|
6267
|
+
};
|
|
6268
|
+
};
|
|
6269
|
+
readonly create_dashboards: {
|
|
6270
|
+
readonly icon: "ViewCarousel";
|
|
6271
|
+
readonly mode: "auto-approved-user-actionable";
|
|
6272
|
+
readonly description: "Suggest Prostgles UI dashboards to visualize data for the specified task.";
|
|
6273
|
+
readonly schema: {
|
|
6274
|
+
readonly type: {
|
|
6275
|
+
readonly prostglesWorkspaces: {
|
|
6276
|
+
readonly description: "Workspace to create. Must satisfy the typescript WorkspaceInsertModel type";
|
|
6277
|
+
readonly arrayOf: "any";
|
|
6278
|
+
};
|
|
6279
|
+
};
|
|
6280
|
+
};
|
|
6281
|
+
readonly outputSchema: "string";
|
|
6282
|
+
};
|
|
6283
|
+
};
|
|
6284
|
+
};
|
|
6285
|
+
handler: ProstglesMcpServerHandler;
|
|
6286
|
+
} | {
|
|
6287
|
+
definition: {
|
|
6288
|
+
readonly icon_path: "DatabaseOutline";
|
|
6289
|
+
readonly label: "Database";
|
|
6290
|
+
readonly description: "Tools to interact with your database";
|
|
6291
|
+
readonly tools: {
|
|
6292
|
+
readonly get_existing_tables_schema: {
|
|
6293
|
+
readonly icon: "DatabaseEyeOutline";
|
|
6294
|
+
readonly description: string;
|
|
6295
|
+
readonly schema: {
|
|
6296
|
+
readonly type: {
|
|
6297
|
+
readonly tableNames: {
|
|
6298
|
+
readonly optional: true;
|
|
6299
|
+
readonly type: "string[]";
|
|
6300
|
+
};
|
|
6301
|
+
readonly tableNameRegex: {
|
|
6302
|
+
readonly optional: true;
|
|
6303
|
+
readonly type: "string";
|
|
6304
|
+
readonly description: "Regular expression to match table names. For example, 'user' will match tables with names like 'user', 'users', 'app_user', etc.";
|
|
6305
|
+
};
|
|
6306
|
+
};
|
|
6307
|
+
};
|
|
6308
|
+
readonly outputSchema: {
|
|
6309
|
+
readonly type: "string";
|
|
6310
|
+
};
|
|
6311
|
+
};
|
|
6312
|
+
readonly execute_readonly_sql: {
|
|
6313
|
+
readonly icon: "DatabaseSearchOutline";
|
|
6314
|
+
readonly annotations: {
|
|
6315
|
+
readonly readOnlyHint: true;
|
|
6316
|
+
};
|
|
6317
|
+
readonly description: "Executes a SQL query on the connected database in readonly mode (no data can be changed, the transaction is rolled back at the end).";
|
|
6318
|
+
readonly schema: {
|
|
6319
|
+
readonly type: {
|
|
6320
|
+
readonly sql: {
|
|
6321
|
+
readonly type: "string";
|
|
6322
|
+
readonly description: "SQL query to execute";
|
|
6323
|
+
};
|
|
6324
|
+
readonly query_timeout: {
|
|
6325
|
+
readonly type: "number";
|
|
6326
|
+
readonly optional: true;
|
|
6327
|
+
readonly description: "Maximum time in milliseconds the query will be allowed to run. Defaults to 30000.";
|
|
6328
|
+
};
|
|
6329
|
+
readonly query_params: {
|
|
6330
|
+
readonly optional: true;
|
|
6331
|
+
readonly description: "Query parameters to use in the SQL query. Must satisfy the query schema. Supports index based ($1, $2, etc.) and named parameters (${paramName}).";
|
|
6332
|
+
readonly oneOf: readonly ["any[]", {
|
|
6333
|
+
readonly record: {
|
|
6334
|
+
readonly values: "any";
|
|
6335
|
+
};
|
|
6336
|
+
}];
|
|
6337
|
+
};
|
|
6338
|
+
};
|
|
6339
|
+
};
|
|
6340
|
+
readonly outputSchema: {
|
|
6341
|
+
readonly arrayOf: {
|
|
6342
|
+
readonly record: {
|
|
6343
|
+
readonly values: "any";
|
|
6344
|
+
};
|
|
6345
|
+
};
|
|
6346
|
+
};
|
|
6347
|
+
};
|
|
6348
|
+
readonly execute_sql: {
|
|
6349
|
+
readonly icon: "DatabaseEditOutline";
|
|
6350
|
+
readonly annotations: {
|
|
6351
|
+
readonly readOnlyHint: false;
|
|
6352
|
+
readonly destructiveHint: true;
|
|
6353
|
+
};
|
|
6354
|
+
readonly description: "Executes a SQL query on the connected database in commit mode (data can be changed, the transaction committed at the end).";
|
|
6355
|
+
readonly schema: {
|
|
6356
|
+
readonly type: {
|
|
6357
|
+
readonly sql: {
|
|
6358
|
+
readonly type: "string";
|
|
6359
|
+
readonly description: "SQL query to execute";
|
|
6360
|
+
};
|
|
6361
|
+
readonly query_timeout: {
|
|
6362
|
+
readonly type: "number";
|
|
6363
|
+
readonly optional: true;
|
|
6364
|
+
readonly description: "Maximum time in milliseconds the query will be allowed to run. Defaults to 30000.";
|
|
6365
|
+
};
|
|
6366
|
+
readonly query_params: {
|
|
6367
|
+
readonly optional: true;
|
|
6368
|
+
readonly description: "Query parameters to use in the SQL query. Must satisfy the query schema. Supports index based ($1, $2, etc.) and named parameters (${paramName}).";
|
|
6369
|
+
readonly oneOf: readonly ["any[]", {
|
|
6370
|
+
readonly record: {
|
|
6371
|
+
readonly values: "any";
|
|
6372
|
+
};
|
|
6373
|
+
}];
|
|
6374
|
+
};
|
|
6375
|
+
};
|
|
6376
|
+
};
|
|
6377
|
+
readonly outputSchema: {
|
|
6378
|
+
readonly arrayOf: {
|
|
6379
|
+
readonly record: {
|
|
6380
|
+
readonly values: "any";
|
|
6381
|
+
};
|
|
6382
|
+
};
|
|
6383
|
+
};
|
|
6384
|
+
};
|
|
6385
|
+
readonly count: {
|
|
6386
|
+
readonly icon: "DatabaseEyeOutline";
|
|
6387
|
+
readonly description: "Counts rows in a table that satisfy a filter.";
|
|
6388
|
+
readonly annotations: {
|
|
6389
|
+
readonly readOnlyHint: true;
|
|
6390
|
+
};
|
|
6391
|
+
readonly schema: {
|
|
6392
|
+
readonly type: {
|
|
6393
|
+
readonly select: {
|
|
6394
|
+
readonly optional: true;
|
|
6395
|
+
readonly oneOf: readonly [{
|
|
6396
|
+
readonly enum: readonly ["*", ""];
|
|
6397
|
+
}, "string[]", {
|
|
6398
|
+
readonly record: {
|
|
6399
|
+
readonly values: "any";
|
|
6400
|
+
};
|
|
6401
|
+
}];
|
|
6402
|
+
readonly description: "Fields to select. Omit or use \"*\" to select all allowed fields. Supports column arrays, inclusion/exclusion objects, functions and joins.";
|
|
6403
|
+
};
|
|
6404
|
+
readonly orderBy: {
|
|
6405
|
+
readonly optional: true;
|
|
6406
|
+
readonly oneOf: readonly ["string", "string[]", {
|
|
6407
|
+
readonly record: {
|
|
6408
|
+
readonly values: {
|
|
6409
|
+
readonly oneOf: readonly [{
|
|
6410
|
+
readonly enum: readonly [1, -1];
|
|
6411
|
+
}, "boolean"];
|
|
6412
|
+
};
|
|
6413
|
+
};
|
|
6414
|
+
}, {
|
|
6415
|
+
readonly arrayOf: {
|
|
6416
|
+
readonly record: {
|
|
6417
|
+
readonly values: {
|
|
6418
|
+
readonly oneOf: readonly [{
|
|
6419
|
+
readonly enum: readonly [1, -1];
|
|
6420
|
+
}, "boolean"];
|
|
6421
|
+
};
|
|
6422
|
+
};
|
|
6423
|
+
};
|
|
6424
|
+
}, {
|
|
6425
|
+
readonly arrayOfType: {
|
|
6426
|
+
readonly key: "string";
|
|
6427
|
+
readonly asc: {
|
|
6428
|
+
readonly optional: true;
|
|
6429
|
+
readonly nullable: true;
|
|
6430
|
+
readonly oneOf: readonly [{
|
|
6431
|
+
readonly enum: readonly [1, -1];
|
|
6432
|
+
}, "boolean"];
|
|
6433
|
+
};
|
|
6434
|
+
readonly nulls: {
|
|
6435
|
+
readonly enum: readonly ["first", "last"];
|
|
6436
|
+
readonly optional: true;
|
|
6437
|
+
readonly nullable: true;
|
|
6438
|
+
};
|
|
6439
|
+
readonly nullEmpty: {
|
|
6440
|
+
readonly type: "boolean";
|
|
6441
|
+
readonly optional: true;
|
|
6442
|
+
readonly nullable: true;
|
|
6443
|
+
};
|
|
6444
|
+
};
|
|
6445
|
+
}, {
|
|
6446
|
+
readonly type: {
|
|
6447
|
+
readonly key: "string";
|
|
6448
|
+
readonly asc: {
|
|
6449
|
+
readonly optional: true;
|
|
6450
|
+
readonly nullable: true;
|
|
6451
|
+
readonly oneOf: readonly [{
|
|
6452
|
+
readonly enum: readonly [1, -1];
|
|
6453
|
+
}, "boolean"];
|
|
6454
|
+
};
|
|
6455
|
+
readonly nulls: {
|
|
6456
|
+
readonly enum: readonly ["first", "last"];
|
|
6457
|
+
readonly optional: true;
|
|
6458
|
+
readonly nullable: true;
|
|
6459
|
+
};
|
|
6460
|
+
readonly nullEmpty: {
|
|
6461
|
+
readonly type: "boolean";
|
|
6462
|
+
readonly optional: true;
|
|
6463
|
+
readonly nullable: true;
|
|
6464
|
+
};
|
|
6465
|
+
};
|
|
6466
|
+
}];
|
|
6467
|
+
};
|
|
6468
|
+
readonly limit: {
|
|
6469
|
+
readonly optional: true;
|
|
6470
|
+
readonly nullable: true;
|
|
6471
|
+
readonly type: "integer";
|
|
6472
|
+
};
|
|
6473
|
+
readonly offset: {
|
|
6474
|
+
readonly optional: true;
|
|
6475
|
+
readonly type: "integer";
|
|
6476
|
+
};
|
|
6477
|
+
readonly groupBy: {
|
|
6478
|
+
readonly optional: true;
|
|
6479
|
+
readonly type: "boolean";
|
|
6480
|
+
};
|
|
6481
|
+
readonly having: {
|
|
6482
|
+
readonly optional: true;
|
|
6483
|
+
readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
|
|
6484
|
+
readonly record: {
|
|
6485
|
+
readonly values: "any";
|
|
6486
|
+
};
|
|
6487
|
+
};
|
|
6488
|
+
readonly tableName: "string";
|
|
6489
|
+
readonly filter: {
|
|
6490
|
+
readonly optional: true;
|
|
6491
|
+
readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
|
|
6492
|
+
readonly record: {
|
|
6493
|
+
readonly values: "any";
|
|
6494
|
+
};
|
|
6495
|
+
};
|
|
6496
|
+
};
|
|
6497
|
+
};
|
|
6498
|
+
readonly outputSchema: "number";
|
|
6499
|
+
};
|
|
6500
|
+
readonly find: {
|
|
6501
|
+
readonly icon: "TableSearch";
|
|
6502
|
+
readonly description: "Selects rows from a table.";
|
|
6503
|
+
readonly annotations: {
|
|
6504
|
+
readonly readOnlyHint: true;
|
|
6505
|
+
};
|
|
6506
|
+
readonly schema: {
|
|
6507
|
+
readonly type: {
|
|
6508
|
+
readonly limit: {
|
|
6509
|
+
readonly description: "Defaults to 10. Use null for no limit.";
|
|
6510
|
+
readonly optional: true;
|
|
6511
|
+
readonly nullable: true;
|
|
6512
|
+
readonly type: "integer";
|
|
6513
|
+
};
|
|
6514
|
+
readonly select: {
|
|
6515
|
+
readonly optional: true;
|
|
6516
|
+
readonly oneOf: readonly [{
|
|
6517
|
+
readonly enum: readonly ["*", ""];
|
|
6518
|
+
}, "string[]", {
|
|
6519
|
+
readonly record: {
|
|
6520
|
+
readonly values: "any";
|
|
6521
|
+
};
|
|
6522
|
+
}];
|
|
6523
|
+
readonly description: "Fields to select. Omit or use \"*\" to select all allowed fields. Supports column arrays, inclusion/exclusion objects, functions and joins.";
|
|
6524
|
+
};
|
|
6525
|
+
readonly orderBy: {
|
|
6526
|
+
readonly optional: true;
|
|
6527
|
+
readonly oneOf: readonly ["string", "string[]", {
|
|
6528
|
+
readonly record: {
|
|
6529
|
+
readonly values: {
|
|
6530
|
+
readonly oneOf: readonly [{
|
|
6531
|
+
readonly enum: readonly [1, -1];
|
|
6532
|
+
}, "boolean"];
|
|
6533
|
+
};
|
|
6534
|
+
};
|
|
6535
|
+
}, {
|
|
6536
|
+
readonly arrayOf: {
|
|
6537
|
+
readonly record: {
|
|
6538
|
+
readonly values: {
|
|
6539
|
+
readonly oneOf: readonly [{
|
|
6540
|
+
readonly enum: readonly [1, -1];
|
|
6541
|
+
}, "boolean"];
|
|
6542
|
+
};
|
|
6543
|
+
};
|
|
6544
|
+
};
|
|
6545
|
+
}, {
|
|
6546
|
+
readonly arrayOfType: {
|
|
6547
|
+
readonly key: "string";
|
|
6548
|
+
readonly asc: {
|
|
6549
|
+
readonly optional: true;
|
|
6550
|
+
readonly nullable: true;
|
|
6551
|
+
readonly oneOf: readonly [{
|
|
6552
|
+
readonly enum: readonly [1, -1];
|
|
6553
|
+
}, "boolean"];
|
|
6554
|
+
};
|
|
6555
|
+
readonly nulls: {
|
|
6556
|
+
readonly enum: readonly ["first", "last"];
|
|
6557
|
+
readonly optional: true;
|
|
6558
|
+
readonly nullable: true;
|
|
6559
|
+
};
|
|
6560
|
+
readonly nullEmpty: {
|
|
6561
|
+
readonly type: "boolean";
|
|
6562
|
+
readonly optional: true;
|
|
6563
|
+
readonly nullable: true;
|
|
6564
|
+
};
|
|
6565
|
+
};
|
|
6566
|
+
}, {
|
|
6567
|
+
readonly type: {
|
|
6568
|
+
readonly key: "string";
|
|
6569
|
+
readonly asc: {
|
|
6570
|
+
readonly optional: true;
|
|
6571
|
+
readonly nullable: true;
|
|
6572
|
+
readonly oneOf: readonly [{
|
|
6573
|
+
readonly enum: readonly [1, -1];
|
|
6574
|
+
}, "boolean"];
|
|
6575
|
+
};
|
|
6576
|
+
readonly nulls: {
|
|
6577
|
+
readonly enum: readonly ["first", "last"];
|
|
6578
|
+
readonly optional: true;
|
|
6579
|
+
readonly nullable: true;
|
|
6580
|
+
};
|
|
6581
|
+
readonly nullEmpty: {
|
|
6582
|
+
readonly type: "boolean";
|
|
6583
|
+
readonly optional: true;
|
|
6584
|
+
readonly nullable: true;
|
|
6585
|
+
};
|
|
6586
|
+
};
|
|
6587
|
+
}];
|
|
6588
|
+
};
|
|
6589
|
+
readonly offset: {
|
|
6590
|
+
readonly optional: true;
|
|
6591
|
+
readonly type: "integer";
|
|
6592
|
+
};
|
|
6593
|
+
readonly groupBy: {
|
|
6594
|
+
readonly optional: true;
|
|
6595
|
+
readonly type: "boolean";
|
|
6596
|
+
};
|
|
6597
|
+
readonly having: {
|
|
6598
|
+
readonly optional: true;
|
|
6599
|
+
readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
|
|
6600
|
+
readonly record: {
|
|
6601
|
+
readonly values: "any";
|
|
6602
|
+
};
|
|
6603
|
+
};
|
|
6604
|
+
readonly tableName: "string";
|
|
6605
|
+
readonly filter: {
|
|
6606
|
+
readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
|
|
6607
|
+
readonly record: {
|
|
6608
|
+
readonly values: "any";
|
|
6609
|
+
};
|
|
6610
|
+
readonly optional: true;
|
|
6611
|
+
};
|
|
6612
|
+
};
|
|
6613
|
+
};
|
|
6614
|
+
readonly outputSchema: {
|
|
6615
|
+
readonly arrayOf: {
|
|
6616
|
+
readonly record: {
|
|
6617
|
+
readonly values: "any";
|
|
6618
|
+
};
|
|
6619
|
+
};
|
|
6620
|
+
};
|
|
6621
|
+
};
|
|
6622
|
+
readonly insert: {
|
|
6623
|
+
readonly icon: "TablePlus";
|
|
6624
|
+
readonly description: "Inserts a row into a table. Also uploads a file when tableName is the connection's enabled managed file table: data must contain original_name and data: { encoding: 'base64', data: '<base64 bytes>' }. Storage metadata such as content_type and url is generated automatically.";
|
|
6625
|
+
readonly annotations: {
|
|
6626
|
+
readonly readOnlyHint: false;
|
|
6627
|
+
};
|
|
6628
|
+
readonly schema: {
|
|
6629
|
+
readonly type: {
|
|
6630
|
+
readonly tableName: "string";
|
|
6631
|
+
readonly data: {
|
|
6632
|
+
readonly description: "Data to insert into the table. Must satisfy the table schema.";
|
|
6633
|
+
readonly record: {
|
|
6634
|
+
readonly values: "any";
|
|
6635
|
+
};
|
|
6636
|
+
};
|
|
6637
|
+
readonly onConflict: {
|
|
6638
|
+
readonly optional: true;
|
|
6639
|
+
readonly oneOf: readonly [{
|
|
6640
|
+
readonly enum: readonly ["DoNothing", "DoUpdate"];
|
|
6641
|
+
}, {
|
|
6642
|
+
readonly type: {
|
|
6643
|
+
readonly action: {
|
|
6644
|
+
readonly enum: readonly ["DoNothing", "DoUpdate"];
|
|
6645
|
+
};
|
|
6646
|
+
readonly conflictColumns: "string[]";
|
|
6647
|
+
};
|
|
6648
|
+
}];
|
|
6649
|
+
readonly description: "DoNothing ignores conflicts. DoUpdate updates non-conflicting columns. Use { action, conflictColumns } to specify the conflict target.";
|
|
6650
|
+
};
|
|
6651
|
+
readonly removeDisallowedFields: {
|
|
6652
|
+
readonly type: "boolean";
|
|
6653
|
+
readonly optional: true;
|
|
6654
|
+
};
|
|
6655
|
+
readonly returning: {
|
|
6656
|
+
readonly optional: true;
|
|
6657
|
+
readonly oneOf: readonly [{
|
|
6658
|
+
readonly enum: readonly ["*", ""];
|
|
6659
|
+
}, "string[]", {
|
|
6660
|
+
readonly record: {
|
|
6661
|
+
readonly values: "any";
|
|
6662
|
+
};
|
|
6663
|
+
}];
|
|
6664
|
+
readonly description: "Fields to return for newly inserted data. Use { \"*\": 1 } to return all fields. Nothing will be returned otherwise";
|
|
6665
|
+
};
|
|
6666
|
+
};
|
|
6667
|
+
};
|
|
6668
|
+
readonly outputSchema: {
|
|
6669
|
+
readonly optional: true;
|
|
6670
|
+
readonly description: "Inserted row returned based on the returning fields. Nothing will be returned if returning is not provided.";
|
|
6671
|
+
readonly record: {
|
|
6672
|
+
readonly values: "any";
|
|
6673
|
+
};
|
|
6674
|
+
};
|
|
6675
|
+
};
|
|
6676
|
+
readonly insertMany: {
|
|
6677
|
+
readonly icon: "TablePlus";
|
|
6678
|
+
readonly description: "Inserts rows into a table. Also uploads files when tableName is the connection's enabled managed file table: each item in data must contain original_name and data: { encoding: 'base64', data: '<base64 bytes>' }. Storage metadata such as content_type and url is generated automatically.";
|
|
6679
|
+
readonly annotations: {
|
|
6680
|
+
readonly readOnlyHint: false;
|
|
6681
|
+
};
|
|
6682
|
+
readonly schema: {
|
|
6683
|
+
readonly type: {
|
|
6684
|
+
readonly tableName: "string";
|
|
6685
|
+
readonly data: {
|
|
6686
|
+
readonly description: "Data to insert into the table. Must satisfy the table schema.";
|
|
6687
|
+
readonly arrayOf: {
|
|
6688
|
+
readonly record: {
|
|
6689
|
+
readonly values: "any";
|
|
6690
|
+
};
|
|
6691
|
+
};
|
|
6692
|
+
};
|
|
6693
|
+
readonly onConflict: {
|
|
6694
|
+
readonly optional: true;
|
|
6695
|
+
readonly oneOf: readonly [{
|
|
6696
|
+
readonly enum: readonly ["DoNothing", "DoUpdate"];
|
|
6697
|
+
}, {
|
|
6698
|
+
readonly type: {
|
|
6699
|
+
readonly action: {
|
|
6700
|
+
readonly enum: readonly ["DoNothing", "DoUpdate"];
|
|
6701
|
+
};
|
|
6702
|
+
readonly conflictColumns: "string[]";
|
|
6703
|
+
};
|
|
6704
|
+
}];
|
|
6705
|
+
readonly description: "DoNothing ignores conflicts. DoUpdate updates non-conflicting columns. Use { action, conflictColumns } to specify the conflict target.";
|
|
6706
|
+
};
|
|
6707
|
+
readonly removeDisallowedFields: {
|
|
6708
|
+
readonly type: "boolean";
|
|
6709
|
+
readonly optional: true;
|
|
6710
|
+
};
|
|
6711
|
+
readonly returning: {
|
|
6712
|
+
readonly optional: true;
|
|
6713
|
+
readonly oneOf: readonly [{
|
|
6714
|
+
readonly enum: readonly ["*", ""];
|
|
6715
|
+
}, "string[]", {
|
|
6716
|
+
readonly record: {
|
|
6717
|
+
readonly values: "any";
|
|
6718
|
+
};
|
|
6719
|
+
}];
|
|
6720
|
+
readonly description: "Fields to return for newly inserted data. Use { \"*\": 1 } to return all fields. Nothing will be returned otherwise";
|
|
6721
|
+
};
|
|
6722
|
+
};
|
|
6723
|
+
};
|
|
6724
|
+
readonly outputSchema: {
|
|
6725
|
+
readonly arrayOf: {
|
|
6726
|
+
readonly record: {
|
|
6727
|
+
readonly values: "any";
|
|
6728
|
+
};
|
|
6729
|
+
};
|
|
6730
|
+
readonly optional: true;
|
|
6731
|
+
readonly description: "Inserted rows returned based on the returning fields. Nothing will be returned if returning is not provided.";
|
|
6732
|
+
};
|
|
6733
|
+
};
|
|
6734
|
+
readonly update: {
|
|
6735
|
+
readonly icon: "TableEdit";
|
|
6736
|
+
readonly description: "Updates rows in a table.";
|
|
6737
|
+
readonly annotations: {
|
|
6738
|
+
readonly destructiveHint: true;
|
|
6739
|
+
readonly readOnlyHint: false;
|
|
6740
|
+
};
|
|
6741
|
+
readonly schema: {
|
|
6742
|
+
readonly type: {
|
|
6743
|
+
readonly data: {
|
|
6744
|
+
readonly description: "Data to insert into the table. Must satisfy the table schema.";
|
|
6745
|
+
readonly record: {
|
|
6746
|
+
readonly values: "any";
|
|
6747
|
+
};
|
|
6748
|
+
};
|
|
6749
|
+
readonly removeDisallowedFields: {
|
|
6750
|
+
readonly type: "boolean";
|
|
6751
|
+
readonly optional: true;
|
|
6752
|
+
readonly description: "Whether to remove fields that are not allowed to be updated instead of throwing an error.";
|
|
6753
|
+
};
|
|
6754
|
+
readonly multi: {
|
|
6755
|
+
readonly description: "true by default. When set to false the update will throw an error if more than one row is updated (but the update will commit).";
|
|
6756
|
+
readonly type: "boolean";
|
|
6757
|
+
readonly optional: true;
|
|
6758
|
+
};
|
|
6759
|
+
readonly returning: {
|
|
6760
|
+
readonly optional: true;
|
|
6761
|
+
readonly oneOf: readonly [{
|
|
6762
|
+
readonly enum: readonly ["*", ""];
|
|
6763
|
+
}, "string[]", {
|
|
6764
|
+
readonly record: {
|
|
6765
|
+
readonly values: "any";
|
|
6766
|
+
};
|
|
6767
|
+
}];
|
|
6768
|
+
readonly description: "Fields to return for updated data. Use { \"*\": 1 } to return all fields. Nothing will be returned otherwise";
|
|
6769
|
+
};
|
|
6770
|
+
readonly filter: {
|
|
6771
|
+
readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
|
|
6772
|
+
readonly record: {
|
|
6773
|
+
readonly values: "any";
|
|
6774
|
+
};
|
|
6775
|
+
};
|
|
6776
|
+
readonly tableName: "string";
|
|
6777
|
+
};
|
|
6778
|
+
};
|
|
6779
|
+
readonly outputSchema: {
|
|
6780
|
+
readonly optional: true;
|
|
6781
|
+
readonly oneOf: readonly [{
|
|
6782
|
+
readonly record: {
|
|
6783
|
+
readonly values: "any";
|
|
6784
|
+
};
|
|
6785
|
+
}, {
|
|
6786
|
+
readonly arrayOf: {
|
|
6787
|
+
readonly record: {
|
|
6788
|
+
readonly values: "any";
|
|
6789
|
+
};
|
|
6790
|
+
};
|
|
6791
|
+
}];
|
|
6907
6792
|
};
|
|
6908
6793
|
};
|
|
6909
|
-
readonly
|
|
6910
|
-
readonly icon: "
|
|
6911
|
-
readonly
|
|
6912
|
-
|
|
6794
|
+
readonly delete: {
|
|
6795
|
+
readonly icon: "TableRemove";
|
|
6796
|
+
readonly annotations: {
|
|
6797
|
+
readonly destructiveHint: true;
|
|
6798
|
+
readonly readOnlyHint: false;
|
|
6799
|
+
};
|
|
6800
|
+
readonly description: "Deletes rows from a table.";
|
|
6913
6801
|
readonly schema: {
|
|
6914
6802
|
readonly type: {
|
|
6915
|
-
readonly
|
|
6803
|
+
readonly returning: {
|
|
6804
|
+
readonly optional: true;
|
|
6805
|
+
readonly oneOf: readonly [{
|
|
6806
|
+
readonly enum: readonly ["*", ""];
|
|
6807
|
+
}, "string[]", {
|
|
6808
|
+
readonly record: {
|
|
6809
|
+
readonly values: "any";
|
|
6810
|
+
};
|
|
6811
|
+
}];
|
|
6812
|
+
readonly description: "Fields to return for the deleted rows. Use { \"*\": 1 } to return all fields. Nothing will be returned otherwise";
|
|
6813
|
+
};
|
|
6814
|
+
readonly filter: {
|
|
6815
|
+
readonly description: "Row filter. Must satisfy the table schema. Example filters: { $or: [{ id: 1 }, { name: { $in: ['John'] } }] }";
|
|
6816
|
+
readonly record: {
|
|
6817
|
+
readonly values: "any";
|
|
6818
|
+
};
|
|
6819
|
+
};
|
|
6820
|
+
readonly tableName: "string";
|
|
6916
6821
|
};
|
|
6917
6822
|
};
|
|
6918
6823
|
readonly outputSchema: {
|
|
6919
|
-
readonly
|
|
6824
|
+
readonly oneOf: readonly [{
|
|
6825
|
+
readonly arrayOf: {
|
|
6826
|
+
readonly record: {
|
|
6827
|
+
readonly values: "any";
|
|
6828
|
+
};
|
|
6829
|
+
};
|
|
6830
|
+
}, {
|
|
6831
|
+
readonly enum: readonly [undefined];
|
|
6832
|
+
}];
|
|
6920
6833
|
};
|
|
6921
6834
|
};
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6835
|
+
};
|
|
6836
|
+
readonly config_schema: undefined;
|
|
6837
|
+
};
|
|
6838
|
+
handler: ProstglesMcpServerHandler;
|
|
6839
|
+
} | {
|
|
6840
|
+
definition: {
|
|
6841
|
+
readonly icon_path: "TextBoxSearchOutline";
|
|
6842
|
+
readonly label: "Documents";
|
|
6843
|
+
readonly description: "Convert documents to text and extract information from them";
|
|
6844
|
+
readonly tools: {
|
|
6845
|
+
readonly get_document_text: {
|
|
6846
|
+
readonly mode: undefined;
|
|
6847
|
+
readonly description: "Converts documents/images into structured data. Supported formats: txt, pdf, docx, pptx, jpg, png, and more. Powered by [docling](https://www.docling.ai/).";
|
|
6926
6848
|
readonly schema: {
|
|
6927
6849
|
readonly type: {
|
|
6928
|
-
readonly
|
|
6929
|
-
readonly
|
|
6930
|
-
readonly
|
|
6850
|
+
readonly to_format: {
|
|
6851
|
+
readonly optional: true;
|
|
6852
|
+
readonly description: "Defaults to \"md\". Convert the document to a specific format.";
|
|
6853
|
+
readonly enum: readonly ["md", "json", "yaml", "html", "html_split_page", "text", "doctags"];
|
|
6854
|
+
};
|
|
6855
|
+
readonly from_formats: {
|
|
6856
|
+
readonly optional: true;
|
|
6857
|
+
readonly type: "string[]";
|
|
6858
|
+
readonly allowedValues: readonly ["docx", "pptx", "html", "image", "pdf", "asciidoc", "md", "csv", "xlsx", "xml_uspto", "xml_jats", "xml_xbrl", "mets_gbs", "json_docling", "audio", "vtt", "latex"];
|
|
6859
|
+
};
|
|
6860
|
+
readonly image_export_mode: {
|
|
6861
|
+
readonly optional: true;
|
|
6862
|
+
readonly enum: readonly ["placeholder", "embedded", "referenced"];
|
|
6863
|
+
readonly description: "Image export mode for the document (in case of JSON, Markdown or HTML). Allowed values: placeholder, embedded, referenced. Optional, defaults to Embedded.";
|
|
6864
|
+
};
|
|
6865
|
+
readonly page_range: {
|
|
6866
|
+
readonly tuple: readonly ["integer", "integer"];
|
|
6867
|
+
readonly optional: true;
|
|
6868
|
+
readonly description: "Only convert a range of pages. The page number starts at 1. For example, [1, 3] will convert only the first and third pages of the document.";
|
|
6869
|
+
};
|
|
6870
|
+
readonly do_ocr: {
|
|
6871
|
+
readonly type: "boolean";
|
|
6872
|
+
readonly optional: true;
|
|
6873
|
+
readonly description: "If enabled, the bitmap content will be processed using OCR. Boolean. Optional, defaults to true";
|
|
6874
|
+
};
|
|
6875
|
+
readonly force_ocr: {
|
|
6876
|
+
readonly type: "boolean";
|
|
6877
|
+
readonly optional: true;
|
|
6878
|
+
readonly description: "If enabled, replace existing text with OCR-generated text over content. Boolean. Optional, defaults to false.";
|
|
6879
|
+
};
|
|
6880
|
+
readonly ocr_engine: {
|
|
6881
|
+
readonly enum: readonly ["auto", "easyocr", "ocrmac", "rapidocr", "tesserocr", "tesseract"];
|
|
6882
|
+
readonly optional: true;
|
|
6883
|
+
readonly description: "The OCR engine to use. String. Allowed values: auto, easyocr, ocrmac, rapidocr, tesserocr, tesseract. Optional, defaults to easyocr.";
|
|
6884
|
+
};
|
|
6885
|
+
readonly ocr_lang: {
|
|
6886
|
+
readonly type: "string[]";
|
|
6887
|
+
readonly optional: true;
|
|
6888
|
+
readonly description: "List of languages used by the OCR engine. Note that each OCR engine has different values for the language names. String or list of strings. Optional, defaults to empty.";
|
|
6889
|
+
};
|
|
6890
|
+
readonly document_timeout: {
|
|
6891
|
+
readonly optional: true;
|
|
6892
|
+
readonly type: "number";
|
|
6893
|
+
readonly description: "The timeout for processing each document, in seconds.";
|
|
6894
|
+
};
|
|
6895
|
+
readonly pdf_backend: {
|
|
6896
|
+
readonly enum: readonly ["pypdfium2", "docling_parse", "dlparse_v1", "dlparse_v2", "dlparse_v4"];
|
|
6897
|
+
readonly optional: true;
|
|
6898
|
+
readonly description: "The PDF backend to use. String. Allowed values: pypdfium2, docling_parse, dlparse_v1, dlparse_v2, dlparse_v4. Optional, defaults to docling_parse.";
|
|
6899
|
+
};
|
|
6900
|
+
readonly table_mode: {
|
|
6901
|
+
readonly enum: readonly ["fast", "accurate"];
|
|
6902
|
+
readonly optional: true;
|
|
6903
|
+
readonly description: "Mode to use for table structure, String. Allowed values: fast, accurate. Optional, defaults to accurate.";
|
|
6904
|
+
};
|
|
6905
|
+
readonly do_table_structure: {
|
|
6906
|
+
readonly type: "boolean";
|
|
6907
|
+
readonly optional: true;
|
|
6908
|
+
readonly description: "If enabled, the table structure will be extracted. Boolean. Optional, defaults to true.";
|
|
6909
|
+
};
|
|
6910
|
+
readonly include_images: {
|
|
6911
|
+
readonly type: "boolean";
|
|
6912
|
+
readonly optional: true;
|
|
6913
|
+
readonly description: "If enabled, images will be extracted from the document. Boolean. Optional, defaults to true.";
|
|
6914
|
+
};
|
|
6915
|
+
readonly md_page_break_placeholder: {
|
|
6916
|
+
readonly type: "string";
|
|
6917
|
+
readonly optional: true;
|
|
6918
|
+
readonly description: "Add this placeholder between pages in the markdown output.";
|
|
6919
|
+
};
|
|
6920
|
+
readonly images_scale: {
|
|
6921
|
+
readonly type: "number";
|
|
6922
|
+
readonly optional: true;
|
|
6923
|
+
readonly description: "Scale factor for images. Float. Optional, defaults to 2.0.";
|
|
6924
|
+
};
|
|
6925
|
+
readonly fileAsBase64: "string";
|
|
6926
|
+
readonly contentType: {
|
|
6927
|
+
readonly enum: readonly ["application/pdf", "text/plain", "text/markdown", "text/x-markdown", "text/html", "application/xhtml+xml", "text/asciidoc", "text/x-asciidoc", "text/csv", "text/vtt", "text/x-tex", "application/x-tex", "text/x-latex", "application/xml", "text/xml", "application/mets+xml", "application/json", "application/msword", "application/x-msword", "application/rtf", "text/rtf", "application/x-rtf", "application/vnd.ms-excel", "application/x-msexcel", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.wordprocessingml.template", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.presentationml.template", "application/vnd.openxmlformats-officedocument.presentationml.slideshow", "application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template", "application/vnd.oasis.opendocument.spreadsheet", "application/vnd.oasis.opendocument.spreadsheet-template", "application/vnd.oasis.opendocument.presentation", "application/vnd.oasis.opendocument.presentation-template", "application/epub+zip", "message/rfc822", "application/vnd.ms-outlook", "application/x-mimearchive", "multipart/related", "image/png", "image/jpeg", "image/tiff", "image/gif", "image/bmp", "image/webp"];
|
|
6931
6928
|
};
|
|
6932
6929
|
};
|
|
6933
6930
|
};
|
|
6934
|
-
readonly outputSchema:
|
|
6931
|
+
readonly outputSchema: {
|
|
6932
|
+
readonly type: "string";
|
|
6933
|
+
};
|
|
6935
6934
|
};
|
|
6936
6935
|
};
|
|
6936
|
+
readonly config_schema: undefined;
|
|
6937
6937
|
};
|
|
6938
6938
|
handler: ProstglesMcpServerHandler;
|
|
6939
6939
|
} | undefined;
|