OptionalmaxSteps?: numberUsed to create a default stepCountIs(maxSteps) when tools are present and stopWhen is omitted
Prompt file name
OptionalpromptDir?: stringOverride the stack-resolved prompt directory
Optionalskills?: SkillsArg<Record<string, string | number | boolean> | undefined>Skill packages to provide to the LLM through the load_skill tool
Optionalvariables?: Record<string, string | number | boolean>Variables to interpolate into the prompt file
Parameters accepted by generateText.