File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ export interface ExternalTool {
55 types : ToolType [ ]
66 scope : ToolScope
77 contentType ?: string // Only present when scope is 'file'
8+ toolParameters ?: { queryParameters ?: Record < string , string > [ ] }
9+ allowedApiCalls ?: { name : string ; httpMethod : string ; urlTemplate : string ; timeOut : number } [ ]
10+ requirements ?: { auxFilesExist : { formatTag : string ; formatVersion : string } [ ] }
811}
912
1013export enum ToolType {
Original file line number Diff line number Diff line change @@ -7,4 +7,7 @@ export interface ExternalToolPayload {
77 types : ToolType [ ]
88 scope : ToolScope
99 contentType ?: string // Only present when scope is 'file'
10+ toolParameters ?: { queryParameters ?: Record < string , string > [ ] }
11+ allowedApiCalls ?: { name : string ; httpMethod : string ; urlTemplate : string ; timeOut : number } [ ]
12+ requirements ?: { auxFilesExist : { formatTag : string ; formatVersion : string } [ ] }
1013}
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ export const externalToolsTransformer = (
1515 description : tool . description ,
1616 types : tool . types ,
1717 scope : tool . scope ,
18- contentType : tool . contentType
18+ contentType : tool . contentType ,
19+ toolParameters : tool . toolParameters ,
20+ allowedApiCalls : tool . allowedApiCalls ,
21+ requirements : tool . requirements
1922 } ) )
2023}
You can’t perform that action at this time.
0 commit comments