Filters the maximum number of array items retained when compacting tool results.
add_filter( 'ai_assistant_tool_result_array_max_items', function( int $items ) { // Your code here. return $items; } );
int
$items
apply_filters('ai_assistant_tool_result_array_max_items', 40)
← All Hooks
There was an error while loading. Please reload this page.