Skip to content

Commit 2009833

Browse files
committed
updated spec types related to sampling sep
1 parent 3af0617 commit 2009833

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/spec.types.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,7 +1526,7 @@ export interface ToolUseContent {
15261526
/**
15271527
* The arguments to pass to the tool, conforming to the tool's input schema.
15281528
*/
1529-
input: object;
1529+
input: { [key: string]: unknown };
15301530

15311531
/**
15321532
* Optional metadata about the tool use. Clients SHOULD preserve this field when
@@ -1565,7 +1565,7 @@ export interface ToolResultContent {
15651565
*
15661566
* If the tool defined an outputSchema, this SHOULD conform to that schema.
15671567
*/
1568-
structuredContent?: object;
1568+
structuredContent?: { [key: string]: unknown };
15691569

15701570
/**
15711571
* Whether the tool use resulted in an error.
@@ -1902,7 +1902,6 @@ export interface ElicitRequest extends JSONRPCRequest {
19021902
params: ElicitRequestParams;
19031903
}
19041904

1905-
/**
19061905
/**
19071906
* Restricted schema definitions that only allow primitive types
19081907
* without nested objects or arrays.

0 commit comments

Comments
 (0)