Skip to content

Commit c5546fe

Browse files
committed
Remove unused properties from input schema in McpRestApiCrud class
1 parent 5fb1a3b commit c5546fe

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

includes/Tools/McpRestApiCrud.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ public function register_tools(): void {
5050
'type' => 'read',
5151
'inputSchema' => array(
5252
'type' => 'object',
53-
'properties' => new \stdClass(),
54-
'required' => new \stdClass(),
5553
),
5654
'callback' => array( $this, 'get_available_tools' ),
5755
'permission_callback' => '__return_true',

0 commit comments

Comments
 (0)