UNPKG

@the_cfdude/productboard-mcp

Version:

Model Context Protocol server for Productboard REST API with dynamic tool loading

566 lines (565 loc) 15.4 kB
export declare function setupObjectivesTools(): ({ name: string; description: string; inputSchema: { type: string; properties: { name: { type: string; description: string; }; description: { type: string; description: string; }; ownerId: { type: string; description: string; }; startDate: { type: string; description: string; }; endDate: { type: string; description: string; }; instance: { type: string; description: string; }; workspaceId: { type: string; description: string; }; limit?: undefined; startWith?: undefined; detail?: undefined; includeSubData?: undefined; id?: undefined; featureId?: undefined; initiativeId?: undefined; status?: undefined; objectiveId?: undefined; type?: undefined; startValue?: undefined; targetValue?: undefined; currentValue?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { limit: { type: string; description: string; }; startWith: { type: string; description: string; }; detail: { type: string; enum: string[]; description: string; }; includeSubData: { type: string; description: string; }; instance: { type: string; description: string; }; workspaceId: { type: string; description: string; }; name?: undefined; description?: undefined; ownerId?: undefined; startDate?: undefined; endDate?: undefined; id?: undefined; featureId?: undefined; initiativeId?: undefined; status?: undefined; objectiveId?: undefined; type?: undefined; startValue?: undefined; targetValue?: undefined; currentValue?: undefined; }; required?: undefined; }; } | { name: string; description: string; inputSchema: { type: string; properties: { id: { type: string; description: string; }; detail: { type: string; enum: string[]; description: string; }; includeSubData: { type: string; description: string; }; instance: { type: string; description: string; }; workspaceId: { type: string; description: string; }; name?: undefined; description?: undefined; ownerId?: undefined; startDate?: undefined; endDate?: undefined; limit?: undefined; startWith?: undefined; featureId?: undefined; initiativeId?: undefined; status?: undefined; objectiveId?: undefined; type?: undefined; startValue?: undefined; targetValue?: undefined; currentValue?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { id: { type: string; description: string; }; name: { type: string; description: string; }; description: { type: string; description: string; }; ownerId: { type: string; description: string; }; startDate: { type: string; description: string; }; endDate: { type: string; description: string; }; instance: { type: string; description: string; }; workspaceId: { type: string; description: string; }; limit?: undefined; startWith?: undefined; detail?: undefined; includeSubData?: undefined; featureId?: undefined; initiativeId?: undefined; status?: undefined; objectiveId?: undefined; type?: undefined; startValue?: undefined; targetValue?: undefined; currentValue?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { id: { type: string; description: string; }; instance: { type: string; description: string; }; workspaceId: { type: string; description: string; }; name?: undefined; description?: undefined; ownerId?: undefined; startDate?: undefined; endDate?: undefined; limit?: undefined; startWith?: undefined; detail?: undefined; includeSubData?: undefined; featureId?: undefined; initiativeId?: undefined; status?: undefined; objectiveId?: undefined; type?: undefined; startValue?: undefined; targetValue?: undefined; currentValue?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { id: { type: string; description: string; }; featureId: { type: string; description: string; }; instance: { type: string; description: string; }; workspaceId: { type: string; description: string; }; name?: undefined; description?: undefined; ownerId?: undefined; startDate?: undefined; endDate?: undefined; limit?: undefined; startWith?: undefined; detail?: undefined; includeSubData?: undefined; initiativeId?: undefined; status?: undefined; objectiveId?: undefined; type?: undefined; startValue?: undefined; targetValue?: undefined; currentValue?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { id: { type: string; description: string; }; initiativeId: { type: string; description: string; }; instance: { type: string; description: string; }; workspaceId: { type: string; description: string; }; name?: undefined; description?: undefined; ownerId?: undefined; startDate?: undefined; endDate?: undefined; limit?: undefined; startWith?: undefined; detail?: undefined; includeSubData?: undefined; featureId?: undefined; status?: undefined; objectiveId?: undefined; type?: undefined; startValue?: undefined; targetValue?: undefined; currentValue?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { name: { type: string; description: string; }; description: { type: string; description: string; }; ownerId: { type: string; description: string; }; status: { type: string; description: string; }; instance: { type: string; description: string; }; workspaceId: { type: string; description: string; }; startDate?: undefined; endDate?: undefined; limit?: undefined; startWith?: undefined; detail?: undefined; includeSubData?: undefined; id?: undefined; featureId?: undefined; initiativeId?: undefined; objectiveId?: undefined; type?: undefined; startValue?: undefined; targetValue?: undefined; currentValue?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { id: { type: string; description: string; }; name: { type: string; description: string; }; description: { type: string; description: string; }; ownerId: { type: string; description: string; }; status: { type: string; description: string; }; instance: { type: string; description: string; }; workspaceId: { type: string; description: string; }; startDate?: undefined; endDate?: undefined; limit?: undefined; startWith?: undefined; detail?: undefined; includeSubData?: undefined; featureId?: undefined; initiativeId?: undefined; objectiveId?: undefined; type?: undefined; startValue?: undefined; targetValue?: undefined; currentValue?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { id: { type: string; description: string; }; objectiveId: { type: string; description: string; }; instance: { type: string; description: string; }; workspaceId: { type: string; description: string; }; name?: undefined; description?: undefined; ownerId?: undefined; startDate?: undefined; endDate?: undefined; limit?: undefined; startWith?: undefined; detail?: undefined; includeSubData?: undefined; featureId?: undefined; initiativeId?: undefined; status?: undefined; type?: undefined; startValue?: undefined; targetValue?: undefined; currentValue?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { name: { type: string; description: string; }; objectiveId: { type: string; description: string; }; type: { type: string; enum: string[]; description: string; }; startValue: { type: string; description: string; }; targetValue: { type: string; description: string; }; currentValue: { type: string; description: string; }; instance: { type: string; description: string; }; workspaceId: { type: string; description: string; }; description?: undefined; ownerId?: undefined; startDate?: undefined; endDate?: undefined; limit?: undefined; startWith?: undefined; detail?: undefined; includeSubData?: undefined; id?: undefined; featureId?: undefined; initiativeId?: undefined; status?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { id: { type: string; description: string; }; name: { type: string; description: string; }; currentValue: { type: string; description: string; }; targetValue: { type: string; description: string; }; instance: { type: string; description: string; }; workspaceId: { type: string; description: string; }; description?: undefined; ownerId?: undefined; startDate?: undefined; endDate?: undefined; limit?: undefined; startWith?: undefined; detail?: undefined; includeSubData?: undefined; featureId?: undefined; initiativeId?: undefined; status?: undefined; objectiveId?: undefined; type?: undefined; startValue?: undefined; }; required: string[]; }; })[]; export declare function handleObjectivesTool(name: string, args: any): Promise<{ content: { type: string; text: string | { formatted: string; raw: any; }; }[]; }>;