# How does strict mode from openai type models work in crew ai?

**URL:** <https://community.crewai.com/t/how-does-strict-mode-from-openai-type-models-work-in-crew-ai/3846>\
**Category:** CrewAI Community Support\
**Tags:** openai, tools\_issues, crewai\
**Created:** [February 14, 2025, 3:29pm UTC](https://community.crewai.com/t/how-does-strict-mode-from-openai-type-models-work-in-crew-ai/3846 "2025-02-14T15:29:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sohamsarkar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/sohamsarkar/32/1984_2.png) [@sohamsarkar](https://community.crewai.com/u/sohamsarkar)\
**Post date:** [February 14, 2025, 3:29pm UTC](https://community.crewai.com/t/how-does-strict-mode-from-openai-type-models-work-in-crew-ai/3846/1 "2025-02-14T15:29:31Z")

</div>

I’m coming from using vanilla openai where i define the function schema and enable `strict: true` and `additionalProperties: false` when creating tools.

This ensures that the schema is always maintained. In crew I can add the pydantic model that i want the llm to return but does this include strict more? I didn’t find any clear documentation on this.

Any help is appreciated
