Title: 0.1.0 | Developer.WordPress.org

---

# New and updated in 0.1.0

Functions

Hooks

Classes

Methods

 * method[WebSearch::toArray()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/toarray/)
 * {@inheritDoc}
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/toarray/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/toarray/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/WebSearch.php:82](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/WebSearch.php#L82-L85)
 * method[WebSearch::fromArray()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/fromarray/)
 * {@inheritDoc}
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/fromarray/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/fromarray/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/WebSearch.php:91](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/WebSearch.php#L91-L94)
 * method[WebSearch::getDisallowedDomains()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/getdisalloweddomains/)
 * Gets the disallowed domains.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/getdisalloweddomains/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/getdisalloweddomains/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/WebSearch.php:62](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/WebSearch.php#L62-L65)
 * method[WebSearch::getJsonSchema()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/getjsonschema/)
 * {@inheritDoc}
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/getjsonschema/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/getjsonschema/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/WebSearch.php:71](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/WebSearch.php#L71-L74)
 * method[FunctionResponse::getName()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/getname/)
 * Gets the function name.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/getname/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/getname/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionResponse.php:74](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionResponse.php#L74-L77)
 * method[FunctionResponse::getResponse()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/getresponse/)
 * Gets the function response.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/getresponse/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/getresponse/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionResponse.php:85](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionResponse.php#L85-L88)
 * method[FunctionResponse::getJsonSchema()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/getjsonschema/)
 * {@inheritDoc}
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/getjsonschema/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/getjsonschema/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionResponse.php:94](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionResponse.php#L94-L97)
 * method[FunctionResponse::toArray()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/toarray/)
 * {@inheritDoc}
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/toarray/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/toarray/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionResponse.php:105](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionResponse.php#L105-L116)
 * method[FunctionResponse::fromArray()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/fromarray/)
 * {@inheritDoc}
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/fromarray/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/fromarray/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionResponse.php:122](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionResponse.php#L122-L126)
 * class[WebSearch](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/)
 * Represents web search configuration for AI models.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/WebSearch.php:19](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/WebSearch.php#L19-L95)
 * method[WebSearch::__construct()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/__construct/)
 * Constructor.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/__construct/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/__construct/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/WebSearch.php:39](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/WebSearch.php#L39-L43)
 * method[WebSearch::getAllowedDomains()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/getalloweddomains/)
 * Gets the allowed domains.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/getalloweddomains/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-websearch/getalloweddomains/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/WebSearch.php:51](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/WebSearch.php#L51-L54)
 * method[FunctionDeclaration::getParameters()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/getparameters/)
 * Gets the function parameters schema.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/getparameters/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/getparameters/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionDeclaration.php:84](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionDeclaration.php#L84-L87)
 * method[FunctionDeclaration::getJsonSchema()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/getjsonschema/)
 * {@inheritDoc}
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/getjsonschema/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/getjsonschema/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionDeclaration.php:93](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionDeclaration.php#L93-L96)
 * method[FunctionDeclaration::toArray()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/toarray/)
 * {@inheritDoc}
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/toarray/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/toarray/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionDeclaration.php:104](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionDeclaration.php#L104-L111)
 * method[FunctionDeclaration::fromArray()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/fromarray/)
 * {@inheritDoc}
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/fromarray/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/fromarray/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionDeclaration.php:117](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionDeclaration.php#L117-L121)
 * class[FunctionResponse](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/)
 * Represents a response to a function call.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionResponse.php:20](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionResponse.php#L20-L127)
 * method[FunctionResponse::__construct()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/__construct/)
 * Constructor.
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/__construct/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/__construct/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionResponse.php:47](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionResponse.php#L47-L55)
 * method[FunctionResponse::getId()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/getid/)
 * Gets the function call ID.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/getid/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functionresponse/getid/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionResponse.php:63](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionResponse.php#L63-L66)
 * class[FunctionDeclaration](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/)
 * Represents a function declaration for AI models.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionDeclaration.php:23](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionDeclaration.php#L23-L122)
 * method[FunctionDeclaration::__construct()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/__construct/)
 * Constructor.
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/__construct/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/__construct/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionDeclaration.php:49](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionDeclaration.php#L49-L54)
 * method[FunctionDeclaration::getName()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/getname/)
 * Gets the function name.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/getname/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/getname/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionDeclaration.php:62](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionDeclaration.php#L62-L65)
 * method[FunctionDeclaration::getDescription()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/getdescription/)
 * Gets the function description.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/getdescription/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functiondeclaration/getdescription/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionDeclaration.php:73](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionDeclaration.php#L73-L76)
 * method[FunctionCall::toArray()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/toarray/)
 * {@inheritDoc}
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/toarray/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/toarray/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionCall.php:105](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionCall.php#L105-L118)
 * method[FunctionCall::fromArray()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/fromarray/)
 * {@inheritDoc}
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/fromarray/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/fromarray/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionCall.php:124](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionCall.php#L124-L127)
 * class[FinishReasonEnum](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-enums-finishreasonenum/)
 * Enum for finish reasons of AI generation.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-enums-finishreasonenum/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-results-enums-finishreasonenum/#uses)
   | Source: [wp-includes/php-ai-client/src/Results/Enums/FinishReasonEnum.php:23](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Results/Enums/FinishReasonEnum.php#L23-L45)
 * class[FunctionCall](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/)
 * Represents a function call request from an AI model.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionCall.php:20](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionCall.php#L20-L128)
 * method[FunctionCall::__construct()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/__construct/)
 * Constructor.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/__construct/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/__construct/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionCall.php:47](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionCall.php#L47-L55)
 * method[FunctionCall::getId()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/getid/)
 * Gets the function call ID.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/getid/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/getid/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionCall.php:63](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionCall.php#L63-L66)
 * method[FunctionCall::getName()](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/getname/)
 * Gets the function name.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/getname/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wordpress-aiclient-tools-dto-functioncall/getname/#uses)
   | Source: [wp-includes/php-ai-client/src/Tools/DTO/FunctionCall.php:74](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-ai-client/src/Tools/DTO/FunctionCall.php#L74-L77)

1 [2](https://developer.wordpress.org/reference/since/0.1.0/page/2/?output_format=md)
[3](https://developer.wordpress.org/reference/since/0.1.0/page/3/?output_format=md)…
[15](https://developer.wordpress.org/reference/since/0.1.0/page/15/?output_format=md)

 [Next Page](https://developer.wordpress.org/reference/since/0.1.0/page/2/?output_format=md)