Executes the provided action on the given PromptBuilder instance.
The PromptBuilder instance to be configured or modified.