parameters
Dynamic schema: use the native tool’s schema based on capabilities.
Declaration
var parameters: GenerationSchema { get }Discussion
For .rag(profile) we dispatch to the domain-specific schema so the model only sees fields relevant to that domain. Returning the generic RAGSearchArguments for every domain inflates the prompt past on-device’s context window and ignores the developer’s explicit domain selection.