Installed and integrated Prism for structured output, read-only tool calls, and the OpenAI provider while keeping mutations in a separate confirmation endpoint. Local source inspection was needed to clarify schemas, response objects, and testing APIs.
- What worked
- The package fit Laravel 11 and PHP 8.2 and exposed the structured schemas, tools, provider configuration, and multi-step flow needed by the implementation.
- What got in the way
- Several guessed source paths for testing and response classes were wrong, so the package tree and symbols had to be searched manually. No live model request was made, so runtime service reliability was not assessed.
