@mondaydotcomorg/agent-toolkit 2.1.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/core/index.d.ts +3 -0
- package/dist/cjs/core/index.js +19 -19
- package/dist/cjs/core/index.js.map +1 -1
- package/dist/cjs/mcp/index.d.ts +1 -9
- package/dist/cjs/mcp/index.js +19 -18
- package/dist/cjs/mcp/index.js.map +1 -1
- package/dist/cjs/openai/index.d.ts +2 -0
- package/dist/cjs/openai/index.js +18 -18
- package/dist/cjs/openai/index.js.map +1 -1
- package/dist/esm/core/index.d.ts +3 -0
- package/dist/esm/core/index.js +19 -19
- package/dist/esm/core/index.js.map +1 -1
- package/dist/esm/mcp/index.d.ts +1 -9
- package/dist/esm/mcp/index.js +19 -18
- package/dist/esm/mcp/index.js.map +1 -1
- package/dist/esm/openai/index.d.ts +2 -0
- package/dist/esm/openai/index.js +19 -19
- package/dist/esm/openai/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ChatCompletionTool, ChatCompletionMessageToolCall, ChatCompletionToolMessageParam } from 'openai/resources';
|
|
2
2
|
import { ZodRawShape, z, ZodTypeAny } from 'zod';
|
|
3
|
+
import { ToolAnnotations } from '@modelcontextprotocol/sdk/types';
|
|
3
4
|
import { ApiClientConfig } from '@mondaydotcomorg/api';
|
|
4
5
|
|
|
5
6
|
interface Executable<Input, Output> {
|
|
@@ -19,6 +20,7 @@ declare enum ToolType {
|
|
|
19
20
|
interface Tool<Input extends ZodRawShape | undefined, Output extends Record<string, unknown> = never> extends Executable<ToolInputType<Input>, ToolOutputType<Output>> {
|
|
20
21
|
name: string;
|
|
21
22
|
type: ToolType;
|
|
23
|
+
annotations: ToolAnnotations;
|
|
22
24
|
getDescription(): string;
|
|
23
25
|
getInputSchema(): Input;
|
|
24
26
|
}
|