dbx-mcp-server
Version:
A Model Context Protocol server for Dropbox integration with AI-powered PDF analysis, multi-directory indexing, and parallel processing
962 lines (961 loc) • 29.9 kB
TypeScript
declare const toolDefinitions: ({
name: string;
description: string;
inputSchema: {
type: string;
properties: {
path: {
type: string;
description: string;
default: string;
};
content?: undefined;
userId?: undefined;
skipConfirmation?: undefined;
retentionDays?: undefined;
reason?: undefined;
permanent?: undefined;
from_path?: undefined;
to_path?: undefined;
query?: undefined;
max_results?: undefined;
file_extensions?: undefined;
file_categories?: undefined;
date_range?: undefined;
include_content_match?: undefined;
sort_by?: undefined;
order?: undefined;
prompt?: undefined;
useThinking?: undefined;
maxReasoningTokens?: undefined;
paths?: undefined;
recursive?: undefined;
batchSize?: undefined;
excludePaths?: undefined;
excludePatterns?: undefined;
respectGlobalExclusions?: undefined;
scopeToDirectories?: undefined;
docType?: undefined;
limit?: undefined;
documentType?: undefined;
typeName?: undefined;
description?: undefined;
enabled?: undefined;
fields?: undefined;
name?: undefined;
confirm?: undefined;
basePrompt?: undefined;
classification?: undefined;
guidelines?: undefined;
};
required?: undefined;
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
path: {
type: string;
description: string;
default?: undefined;
};
content: {
type: string;
description: string;
};
userId?: undefined;
skipConfirmation?: undefined;
retentionDays?: undefined;
reason?: undefined;
permanent?: undefined;
from_path?: undefined;
to_path?: undefined;
query?: undefined;
max_results?: undefined;
file_extensions?: undefined;
file_categories?: undefined;
date_range?: undefined;
include_content_match?: undefined;
sort_by?: undefined;
order?: undefined;
prompt?: undefined;
useThinking?: undefined;
maxReasoningTokens?: undefined;
paths?: undefined;
recursive?: undefined;
batchSize?: undefined;
excludePaths?: undefined;
excludePatterns?: undefined;
respectGlobalExclusions?: undefined;
scopeToDirectories?: undefined;
docType?: undefined;
limit?: undefined;
documentType?: undefined;
typeName?: undefined;
description?: undefined;
enabled?: undefined;
fields?: undefined;
name?: undefined;
confirm?: undefined;
basePrompt?: undefined;
classification?: undefined;
guidelines?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
path: {
type: string;
description: string;
default?: undefined;
};
content?: undefined;
userId?: undefined;
skipConfirmation?: undefined;
retentionDays?: undefined;
reason?: undefined;
permanent?: undefined;
from_path?: undefined;
to_path?: undefined;
query?: undefined;
max_results?: undefined;
file_extensions?: undefined;
file_categories?: undefined;
date_range?: undefined;
include_content_match?: undefined;
sort_by?: undefined;
order?: undefined;
prompt?: undefined;
useThinking?: undefined;
maxReasoningTokens?: undefined;
paths?: undefined;
recursive?: undefined;
batchSize?: undefined;
excludePaths?: undefined;
excludePatterns?: undefined;
respectGlobalExclusions?: undefined;
scopeToDirectories?: undefined;
docType?: undefined;
limit?: undefined;
documentType?: undefined;
typeName?: undefined;
description?: undefined;
enabled?: undefined;
fields?: undefined;
name?: undefined;
confirm?: undefined;
basePrompt?: undefined;
classification?: undefined;
guidelines?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
path: {
type: string;
description: string;
default?: undefined;
};
userId: {
type: string;
description: string;
};
skipConfirmation: {
type: string;
description: string;
default: boolean;
};
retentionDays: {
type: string;
description: string;
};
reason: {
type: string;
description: string;
};
permanent: {
type: string;
description: string;
default: boolean;
};
content?: undefined;
from_path?: undefined;
to_path?: undefined;
query?: undefined;
max_results?: undefined;
file_extensions?: undefined;
file_categories?: undefined;
date_range?: undefined;
include_content_match?: undefined;
sort_by?: undefined;
order?: undefined;
prompt?: undefined;
useThinking?: undefined;
maxReasoningTokens?: undefined;
paths?: undefined;
recursive?: undefined;
batchSize?: undefined;
excludePaths?: undefined;
excludePatterns?: undefined;
respectGlobalExclusions?: undefined;
scopeToDirectories?: undefined;
docType?: undefined;
limit?: undefined;
documentType?: undefined;
typeName?: undefined;
description?: undefined;
enabled?: undefined;
fields?: undefined;
name?: undefined;
confirm?: undefined;
basePrompt?: undefined;
classification?: undefined;
guidelines?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
from_path: {
type: string;
description: string;
};
to_path: {
type: string;
description: string;
};
path?: undefined;
content?: undefined;
userId?: undefined;
skipConfirmation?: undefined;
retentionDays?: undefined;
reason?: undefined;
permanent?: undefined;
query?: undefined;
max_results?: undefined;
file_extensions?: undefined;
file_categories?: undefined;
date_range?: undefined;
include_content_match?: undefined;
sort_by?: undefined;
order?: undefined;
prompt?: undefined;
useThinking?: undefined;
maxReasoningTokens?: undefined;
paths?: undefined;
recursive?: undefined;
batchSize?: undefined;
excludePaths?: undefined;
excludePatterns?: undefined;
respectGlobalExclusions?: undefined;
scopeToDirectories?: undefined;
docType?: undefined;
limit?: undefined;
documentType?: undefined;
typeName?: undefined;
description?: undefined;
enabled?: undefined;
fields?: undefined;
name?: undefined;
confirm?: undefined;
basePrompt?: undefined;
classification?: undefined;
guidelines?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
query: {
type: string;
description: string;
};
path: {
type: string;
description: string;
default: string;
};
max_results: {
type: string;
description: string;
default: number;
};
file_extensions: {
type: string;
items: {
type: string;
};
description: string;
};
file_categories: {
type: string;
items: {
type: string;
enum: string[];
};
description: string;
};
date_range: {
type: string;
properties: {
start: {
type: string;
description: string;
};
end: {
type: string;
description: string;
};
};
};
include_content_match: {
type: string;
description: string;
default: boolean;
};
sort_by: {
type: string;
enum: string[];
description: string;
default: string;
};
order: {
type: string;
enum: string[];
description: string;
default: string;
};
content?: undefined;
userId?: undefined;
skipConfirmation?: undefined;
retentionDays?: undefined;
reason?: undefined;
permanent?: undefined;
from_path?: undefined;
to_path?: undefined;
prompt?: undefined;
useThinking?: undefined;
maxReasoningTokens?: undefined;
paths?: undefined;
recursive?: undefined;
batchSize?: undefined;
excludePaths?: undefined;
excludePatterns?: undefined;
respectGlobalExclusions?: undefined;
scopeToDirectories?: undefined;
docType?: undefined;
limit?: undefined;
documentType?: undefined;
typeName?: undefined;
description?: undefined;
enabled?: undefined;
fields?: undefined;
name?: undefined;
confirm?: undefined;
basePrompt?: undefined;
classification?: undefined;
guidelines?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
path?: undefined;
content?: undefined;
userId?: undefined;
skipConfirmation?: undefined;
retentionDays?: undefined;
reason?: undefined;
permanent?: undefined;
from_path?: undefined;
to_path?: undefined;
query?: undefined;
max_results?: undefined;
file_extensions?: undefined;
file_categories?: undefined;
date_range?: undefined;
include_content_match?: undefined;
sort_by?: undefined;
order?: undefined;
prompt?: undefined;
useThinking?: undefined;
maxReasoningTokens?: undefined;
paths?: undefined;
recursive?: undefined;
batchSize?: undefined;
excludePaths?: undefined;
excludePatterns?: undefined;
respectGlobalExclusions?: undefined;
scopeToDirectories?: undefined;
docType?: undefined;
limit?: undefined;
documentType?: undefined;
typeName?: undefined;
description?: undefined;
enabled?: undefined;
fields?: undefined;
name?: undefined;
confirm?: undefined;
basePrompt?: undefined;
classification?: undefined;
guidelines?: undefined;
};
required?: undefined;
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
path: {
type: string;
description: string;
default?: undefined;
};
prompt: {
type: string;
description: string;
properties?: undefined;
};
useThinking: {
type: string;
description: string;
default: boolean;
};
maxReasoningTokens: {
type: string;
description: string;
default: number;
};
content?: undefined;
userId?: undefined;
skipConfirmation?: undefined;
retentionDays?: undefined;
reason?: undefined;
permanent?: undefined;
from_path?: undefined;
to_path?: undefined;
query?: undefined;
max_results?: undefined;
file_extensions?: undefined;
file_categories?: undefined;
date_range?: undefined;
include_content_match?: undefined;
sort_by?: undefined;
order?: undefined;
paths?: undefined;
recursive?: undefined;
batchSize?: undefined;
excludePaths?: undefined;
excludePatterns?: undefined;
respectGlobalExclusions?: undefined;
scopeToDirectories?: undefined;
docType?: undefined;
limit?: undefined;
documentType?: undefined;
typeName?: undefined;
description?: undefined;
enabled?: undefined;
fields?: undefined;
name?: undefined;
confirm?: undefined;
basePrompt?: undefined;
classification?: undefined;
guidelines?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
path: {
type: string;
description: string;
default?: undefined;
};
paths: {
type: string;
items: {
type: string;
};
description: string;
};
recursive: {
type: string;
description: string;
default: boolean;
};
batchSize: {
type: string;
description: string;
default: number;
minimum: number;
maximum: number;
};
excludePaths: {
type: string;
items: {
type: string;
};
description: string;
};
excludePatterns: {
type: string;
items: {
type: string;
};
description: string;
};
respectGlobalExclusions: {
type: string;
description: string;
default: boolean;
};
scopeToDirectories: {
type: string;
description: string;
default: boolean;
};
content?: undefined;
userId?: undefined;
skipConfirmation?: undefined;
retentionDays?: undefined;
reason?: undefined;
permanent?: undefined;
from_path?: undefined;
to_path?: undefined;
query?: undefined;
max_results?: undefined;
file_extensions?: undefined;
file_categories?: undefined;
date_range?: undefined;
include_content_match?: undefined;
sort_by?: undefined;
order?: undefined;
prompt?: undefined;
useThinking?: undefined;
maxReasoningTokens?: undefined;
docType?: undefined;
limit?: undefined;
documentType?: undefined;
typeName?: undefined;
description?: undefined;
enabled?: undefined;
fields?: undefined;
name?: undefined;
confirm?: undefined;
basePrompt?: undefined;
classification?: undefined;
guidelines?: undefined;
};
required?: undefined;
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
query: {
type: string;
description: string;
};
docType: {
type: string;
enum: string[];
description: string;
};
limit: {
type: string;
description: string;
default: number;
};
path?: undefined;
content?: undefined;
userId?: undefined;
skipConfirmation?: undefined;
retentionDays?: undefined;
reason?: undefined;
permanent?: undefined;
from_path?: undefined;
to_path?: undefined;
max_results?: undefined;
file_extensions?: undefined;
file_categories?: undefined;
date_range?: undefined;
include_content_match?: undefined;
sort_by?: undefined;
order?: undefined;
prompt?: undefined;
useThinking?: undefined;
maxReasoningTokens?: undefined;
paths?: undefined;
recursive?: undefined;
batchSize?: undefined;
excludePaths?: undefined;
excludePatterns?: undefined;
respectGlobalExclusions?: undefined;
scopeToDirectories?: undefined;
documentType?: undefined;
typeName?: undefined;
description?: undefined;
enabled?: undefined;
fields?: undefined;
name?: undefined;
confirm?: undefined;
basePrompt?: undefined;
classification?: undefined;
guidelines?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
documentType: {
type: string;
description: string;
};
path?: undefined;
content?: undefined;
userId?: undefined;
skipConfirmation?: undefined;
retentionDays?: undefined;
reason?: undefined;
permanent?: undefined;
from_path?: undefined;
to_path?: undefined;
query?: undefined;
max_results?: undefined;
file_extensions?: undefined;
file_categories?: undefined;
date_range?: undefined;
include_content_match?: undefined;
sort_by?: undefined;
order?: undefined;
prompt?: undefined;
useThinking?: undefined;
maxReasoningTokens?: undefined;
paths?: undefined;
recursive?: undefined;
batchSize?: undefined;
excludePaths?: undefined;
excludePatterns?: undefined;
respectGlobalExclusions?: undefined;
scopeToDirectories?: undefined;
docType?: undefined;
limit?: undefined;
typeName?: undefined;
description?: undefined;
enabled?: undefined;
fields?: undefined;
name?: undefined;
confirm?: undefined;
basePrompt?: undefined;
classification?: undefined;
guidelines?: undefined;
};
required?: undefined;
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
typeName: {
type: string;
description: string;
};
description: {
type: string;
description: string;
};
enabled: {
type: string;
description: string;
default?: undefined;
};
fields: {
type: string;
description: string;
};
prompt: {
type: string;
description: string;
properties: {
extraction: {
type: string;
description: string;
};
guidelines: {
type: string;
items: {
type: string;
};
description: string;
};
};
};
path?: undefined;
content?: undefined;
userId?: undefined;
skipConfirmation?: undefined;
retentionDays?: undefined;
reason?: undefined;
permanent?: undefined;
from_path?: undefined;
to_path?: undefined;
query?: undefined;
max_results?: undefined;
file_extensions?: undefined;
file_categories?: undefined;
date_range?: undefined;
include_content_match?: undefined;
sort_by?: undefined;
order?: undefined;
useThinking?: undefined;
maxReasoningTokens?: undefined;
paths?: undefined;
recursive?: undefined;
batchSize?: undefined;
excludePaths?: undefined;
excludePatterns?: undefined;
respectGlobalExclusions?: undefined;
scopeToDirectories?: undefined;
docType?: undefined;
limit?: undefined;
documentType?: undefined;
name?: undefined;
confirm?: undefined;
basePrompt?: undefined;
classification?: undefined;
guidelines?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
name: {
type: string;
description: string;
};
description: {
type: string;
description: string;
};
enabled: {
type: string;
description: string;
default: boolean;
};
fields: {
type: string;
description: string;
};
prompt: {
type: string;
description: string;
properties: {
extraction: {
type: string;
description: string;
};
guidelines: {
type: string;
items: {
type: string;
};
description: string;
};
};
};
path?: undefined;
content?: undefined;
userId?: undefined;
skipConfirmation?: undefined;
retentionDays?: undefined;
reason?: undefined;
permanent?: undefined;
from_path?: undefined;
to_path?: undefined;
query?: undefined;
max_results?: undefined;
file_extensions?: undefined;
file_categories?: undefined;
date_range?: undefined;
include_content_match?: undefined;
sort_by?: undefined;
order?: undefined;
useThinking?: undefined;
maxReasoningTokens?: undefined;
paths?: undefined;
recursive?: undefined;
batchSize?: undefined;
excludePaths?: undefined;
excludePatterns?: undefined;
respectGlobalExclusions?: undefined;
scopeToDirectories?: undefined;
docType?: undefined;
limit?: undefined;
documentType?: undefined;
typeName?: undefined;
confirm?: undefined;
basePrompt?: undefined;
classification?: undefined;
guidelines?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
typeName: {
type: string;
description: string;
};
confirm: {
type: string;
description: string;
default: boolean;
};
path?: undefined;
content?: undefined;
userId?: undefined;
skipConfirmation?: undefined;
retentionDays?: undefined;
reason?: undefined;
permanent?: undefined;
from_path?: undefined;
to_path?: undefined;
query?: undefined;
max_results?: undefined;
file_extensions?: undefined;
file_categories?: undefined;
date_range?: undefined;
include_content_match?: undefined;
sort_by?: undefined;
order?: undefined;
prompt?: undefined;
useThinking?: undefined;
maxReasoningTokens?: undefined;
paths?: undefined;
recursive?: undefined;
batchSize?: undefined;
excludePaths?: undefined;
excludePatterns?: undefined;
respectGlobalExclusions?: undefined;
scopeToDirectories?: undefined;
docType?: undefined;
limit?: undefined;
documentType?: undefined;
description?: undefined;
enabled?: undefined;
fields?: undefined;
name?: undefined;
basePrompt?: undefined;
classification?: undefined;
guidelines?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
basePrompt: {
type: string;
description: string;
};
classification: {
type: string;
description: string;
};
guidelines: {
type: string;
items: {
type: string;
};
description: string;
};
path?: undefined;
content?: undefined;
userId?: undefined;
skipConfirmation?: undefined;
retentionDays?: undefined;
reason?: undefined;
permanent?: undefined;
from_path?: undefined;
to_path?: undefined;
query?: undefined;
max_results?: undefined;
file_extensions?: undefined;
file_categories?: undefined;
date_range?: undefined;
include_content_match?: undefined;
sort_by?: undefined;
order?: undefined;
prompt?: undefined;
useThinking?: undefined;
maxReasoningTokens?: undefined;
paths?: undefined;
recursive?: undefined;
batchSize?: undefined;
excludePaths?: undefined;
excludePatterns?: undefined;
respectGlobalExclusions?: undefined;
scopeToDirectories?: undefined;
docType?: undefined;
limit?: undefined;
documentType?: undefined;
typeName?: undefined;
description?: undefined;
enabled?: undefined;
fields?: undefined;
name?: undefined;
confirm?: undefined;
};
required?: undefined;
};
})[];
export { toolDefinitions };