Parse a typed output
parseOutput converts the final text after the agent loop completes:
Retry model requests
UsemodelRetry when a transient model failure should be retried inside the current run:
maxRetries counts attempts after the first request. The final attempt count is stored on the step as modelAttempts.
Use managed routing defaults
Usepreset when routing, prompt, or parameter defaults should remain in the dashboard:
responseFormat, plugins, gatewayTools, toolChoice, webSearchOptions, providerOptions, promptCacheKey, and includeMeta.