Skip to content

Commit a0fc1dc

Browse files
authored
feat: #794 Expose ToolInputParameters and ToolOptions from the top-level exports so wrappers can import the tool types (#795)
1 parent dd90864 commit a0fc1dc

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/expose-tool-types.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@openai/agents-core': patch
3+
'@openai/agents': patch
4+
---
5+
6+
feat: #794 Expose `ToolInputParameters` and `ToolOptions` from the top-level exports so wrappers can import the tool types

packages/agents-core/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ export {
140140
ToolExecuteArgument,
141141
ToolEnabledFunction,
142142
} from './tool';
143+
export type { ToolInputParameters, ToolOptions } from './tool';
143144
export type {
144145
ToolOutputText,
145146
ToolOutputImage,

0 commit comments

Comments
 (0)