mcp-tess
Version:
MCP server for executing Tess AI api
101 lines • 2.19 kB
TypeScript
export interface Message {
role: string;
content: string;
}
export interface Memory {
id: number;
user_id: number;
collection_id: number;
memory: string;
credits: number;
collection?: Collection;
}
export interface Collection {
id: number;
user_id: number;
name: string;
display_name?: string;
}
export interface Agent {
id: number;
title: string;
description: string;
long_description?: string;
workspace_id: number;
visibility: string;
slug: string;
active: number;
type: string;
questions: any[];
created_at: string;
updated_at: string;
created_by: number;
}
export interface ExecuteResponse {
id: string;
output: string;
status: string;
root_id: number;
}
export interface ListAgentsResponse {
current_page: number;
data: Agent[];
first_page_url: string;
from: number;
last_page: number;
last_page_url: string;
links: any[];
next_page_url: string | null;
path: string;
per_page: number;
prev_page_url: string | null;
to: number;
total: number;
}
export interface UpdateMemoryResponse {
message: string;
memory: Memory;
}
export interface CreateMemoryResponse {
message: string;
memory: Memory;
}
export interface DeleteMemoryResponse {
message: string;
}
export interface ListMemoryCollectionsResponse {
message: string;
collections: Collection[];
meta: {
current_page: number;
last_page: number;
total: number;
};
}
export interface CreateMemoryCollectionResponse {
message: string;
collection: Collection;
}
export interface UpdateMemoryCollectionResponse {
message: string;
collection: Collection;
}
export interface DeleteMemoryCollectionResponse {
message: string;
}
export interface ListMemoriesResponse {
message: string;
memories: Memory[];
meta: {
current_page: number;
last_page: number;
total: number;
};
}
export interface ListAgentsParams {
q?: string;
type?: 'chat' | 'image' | 'text' | 'video';
page?: number;
per_page?: number;
}
//# sourceMappingURL=types.d.ts.map