Parameters for an agent completion request.
The document context for the agent request.
The optional user input text for the agent.
Converts this parameters object to a JSON object for network transmission.