@mondaydotcomorg/atp-client
Version:
Client SDK for Agent Tool Protocol
23 lines • 693 B
TypeScript
export declare const ToolNames: {
readonly SEARCH_API: "search_api";
readonly FETCH_ALL_APIS: "fetch_all_apis";
readonly EXECUTE_CODE: "execute_code";
readonly EXPLORE_API: "explore_api";
};
export type ToolName = (typeof ToolNames)[keyof typeof ToolNames];
/**
* Tool definition following MCP (Model Context Protocol) convention
* with added execution function
*/
export interface Tool<TInput = any> {
name: string;
description?: string;
inputSchema: {
type: string;
properties?: Record<string, unknown>;
required?: string[];
};
zodSchema?: any;
func: (input: TInput) => Promise<string>;
}
//# sourceMappingURL=types.d.ts.map