MessagePart::getFunctionResponse(): WordPressAiClientToolsDTOFunctionResponse|null

In this article

Gets the function response.

Return

WordPressAiClientToolsDTOFunctionResponse|null The function response or null if not a function response part.

Source

public function getFunctionResponse(): ?FunctionResponse
{
    return $this->functionResponse;
}

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.