We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 633f5d4 commit 793903bCopy full SHA for 793903b
src/MCP/Client.php
@@ -230,9 +230,7 @@ static function () {
230
} elseif ( $part instanceof Function_Call_Part ) {
231
$function_result = $this->{$part->get_name()}( $part->get_args() );
232
233
- // Capture the function name here
234
- $function_name = $part->get_name();
235
- echo "Output generated with the '$function_name' tool:\n"; // Log the function name
+ WP_CLI::debug( 'Calling Tool: ' . $part->get_name(), 'mcp_server' );
236
237
// Odd limitation of add_function_response_part().
238
if ( ! is_array( $function_result ) ) {
0 commit comments