Automatically register tools capability
This commit is contained in:
parent
1506bd1b51
commit
7ac5a5fcf5
1 changed files with 3 additions and 1 deletions
|
|
@ -360,7 +360,9 @@ export class Server<
|
|||
this.assertCanSetRequestHandler(ListToolsRequestSchema.shape.method.value);
|
||||
this.assertCanSetRequestHandler(CallToolRequestSchema.shape.method.value);
|
||||
|
||||
// TODO: Register tool capability
|
||||
this.registerCapabilities({
|
||||
tools: {},
|
||||
});
|
||||
|
||||
this.setRequestHandler(
|
||||
ListToolsRequestSchema,
|
||||
|
|
|
|||
Loading…
Reference in a new issue