Polish gh-764
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
This commit is contained in:
parent
09a853f555
commit
be5ec12e1b
1 changed files with 117 additions and 49 deletions
|
|
@ -1466,6 +1466,7 @@ public final class McpSchema {
|
|||
}
|
||||
|
||||
public Tool build() {
|
||||
Assert.hasText(name, "name must not be empty");
|
||||
return new Tool(name, title, description, inputSchema, outputSchema, annotations, meta);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue