messages; } /** * Get the agent's structured output schema definition. */ public function schema(JsonSchema $schema): array { return [ 'suggested_prompts' => $schema->array()->items( $schema->object([ 'text' => $schema->string() ->description('Short description of suggested prompt (no more than 5 words)') ->required(), 'value' => $schema->string() ->description('The detailed version of the prompt (think good prompt engineering!)') ->required(), ])->withoutAdditionalProperties() )->required(), ]; } }