GetUpdateInfo.tsā¢738 B
export class GetUpdateInfo {
static readonly name = "get_update_info";
static readonly description =
"Get information about the last data update and next scheduled update";
static readonly inputSchema = {
type: "object",
properties: {
includeHistory: { type: "boolean", default: false },
includeSourceVersions: { type: "boolean", default: true },
},
};
static async run(_args: Record<string, unknown>): Promise<unknown> {
// Stub implementation - will be filled in during actual implementation
return {
lastUpdate: new Date().toISOString(),
nextUpdate: new Date(Date.now() + 24 * 60 * 60 * 1000).toISOString(),
status: "up-to-date",
sources: ["api-specs", "field-types", "development-tips"],
};
}
}