@@ -683,14 +683,14 @@ Please check the tool's input schema using ${HelperTools.ACTOR_GET_DETAILS} tool
683683 mcp_session_id : mcpSessionId || '' ,
684684 transport_type : this . options . transportType || '' ,
685685 tool_name : toolFullName ,
686- tool_status : 'success ' , // Will be updated in finally
686+ tool_status : 'succeeded ' , // Will be updated in finally
687687 tool_exec_time_ms : 0 , // Will be calculated in finally
688688 tool_call_number : toolCallNumber ,
689689 } ;
690690 }
691691
692692 const startTime = Date . now ( ) ;
693- let toolStatus : 'success ' | 'failure ' | 'cancelled ' = 'success ' ;
693+ let toolStatus : 'succeeded ' | 'failed ' | 'aborted ' = 'succeeded ' ;
694694
695695 try {
696696 // Handle internal tool
@@ -794,7 +794,7 @@ Please verify the server URL is correct and accessible, and ensure you have a va
794794 ) ;
795795
796796 if ( ! callResult ) {
797- toolStatus = 'cancelled ' ;
797+ toolStatus = 'aborted ' ;
798798 // Receivers of cancellation notifications SHOULD NOT send a response for the cancelled request
799799 // https://modelcontextprotocol.io/specification/2025-06-18/basic/utilities/cancellation#behavior-requirements
800800 return { } ;
@@ -809,7 +809,7 @@ Please verify the server URL is correct and accessible, and ensure you have a va
809809 }
810810 }
811811 } catch ( error ) {
812- toolStatus = extra . signal ?. aborted ? 'cancelled ' : 'failure ' ;
812+ toolStatus = extra . signal ?. aborted ? 'aborted ' : 'failed ' ;
813813 logHttpError ( error , 'Error occurred while calling tool' , { toolName : name } ) ;
814814 const errorMessage = ( error instanceof Error ) ? error . message : 'Unknown error' ;
815815 return buildMCPResponse ( [
0 commit comments